Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 102 for result_types (0.31 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    def TFL_BroadcastableBinaryBuilder :
      OpBuilder<(ins "Value":$lhs, "Value":$rhs),
      [{
        auto resultType =
          OpTrait::util::getBroadcastedType(lhs.getType(), rhs.getType());
        if (!resultType)
          mlir::emitError($_state.location, "non-broadcastable operands");
        $_state.addOperands({lhs, rhs});
        $_state.types.push_back(resultType);
      }]>;
    
    def TFL_FusedBroadcastableBinaryBuilder :
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/unroll_batch_matmul.cc

          RankedTensorType::get({shape_rank}, rewriter.getIntegerType(64));
      Type resultType = RankedTensorType::get(shape, element_type);
      auto constant_attr = DenseElementsAttr::get(shape_spec_type, shape);
      auto shape_tensor =
          rewriter.create<TF::ConstOp>(loc, shape_spec_type, constant_attr);
      return rewriter.create<TF::ReshapeOp>(loc, resultType, /*tensor=*/value,
                                            /*shape=*/shape_tensor);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go

    	type Analyzer struct {
    		Name             string
    		Doc              string
    		Flags            flag.FlagSet
    		Run              func(*Pass) (interface{}, error)
    		RunDespiteErrors bool
    		ResultType       reflect.Type
    		Requires         []*Analyzer
    		FactTypes        []Fact
    	}
    
    The Flags field declares a set of named (global) flag variables that
    control analysis behavior. Unlike vet, analysis flags are not declared
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc

        const double scale, int64_t zero_point, int64_t storage_min,
        int64_t storage_max) {
      const auto result_type = cast<ShapedType>(tensor_type);
      if (!isa<FloatType>(result_type.getElementType())) return {};
      Builder builder(result_type.getContext());
    
      // Only support 8-bits and 16-bits
      if (bit_width != 8 && bit_width != 16) return {};
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc

        if (IsStringType(operand_type)) return true;
      }
      return false;
    }
    
    bool HasStringResult(Operation& op) {
      for (auto result : op.getResults()) {
        auto result_type = getElementTypeOrSelf(result);
        if (IsStringType(result_type)) return true;
      }
      return false;
    }
    
    bool MatchesPattern(Operation& op,
                        const llvm::DenseSet<OperationName>& supported_ops) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  6. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/report/DefaultTestReport.java

    import org.gradle.reporting.ReportRenderer;
    import org.gradle.util.internal.GFileUtils;
    
    import java.io.File;
    import java.io.IOException;
    import java.util.List;
    
    import static org.gradle.api.tasks.testing.TestResult.ResultType.SKIPPED;
    
    public class DefaultTestReport implements TestReporter {
        private final BuildOperationRunner buildOperationRunner;
        private final BuildOperationExecutor buildOperationExecutor;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 12:58:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

    }  // namespace internal
    }  // namespace testing
    
    #define GTEST_MESSAGE_AT_(file, line, message, result_type) \
      ::testing::internal::AssertHelper(result_type, file, line, message) \
        = ::testing::Message()
    
    #define GTEST_MESSAGE_(message, result_type) \
      GTEST_MESSAGE_AT_(__FILE__, __LINE__, message, result_type)
    
    #define GTEST_FATAL_FAILURE_(message) \
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

          output_types.reserve(op_with_region->getNumResults());
          for (const Value result : op_with_region->getResults()) {
            const Type result_type = result.getType();
            if (mlir::isa<NoneType>(result_type)) {
              outputs_replaced.push_back(result);
              output_types.push_back(result_type);
              continue;
            }
            const Type result_element_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        // Sometimes the result type is more specific than what the reshape builder
        // can infer.
        auto result_type = op.getResult().getType();
        rewriter.replaceOpWithNewOp<ReshapeOp>(op, result_type, permuted,
                                               output_shape);
    
        return success();
      }
    };
    
    class LowerBatchToSpaceND : public RewritePattern {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

            quant_type = quant::DownCastScale(quant_type, min, max, op.getLoc());
          }
        }
        rewriter.setInsertionPointAfter(stats_op);
        Type result_type = quant_type.castFromExpressedType(stats_op.getType());
        auto q =
            rewriter.create<Q>(stats_op.getLoc(), result_type, stats_op.getArg());
        rewriter.replaceOpWithNewOp<DQ>(stats_op, stats_op.getType(), q);
        return success();
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top