- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 83 for output_types (0.31 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/order_by_dialect.mlir
} // CHECK-LABEL: iterators func.func private @iterators(%arg0 : tensor<!tf_type.variant>) { %0 = "tf.Iterator"() {container = "", output_shapes = [#tf_type.shape<200x28x28x1>, #tf_type.shape<200x10>], output_types = [f32, f32], shared_name = "_iterator1"} : () -> tensor<!tf_type.resource> %1 = func.call @id(%arg0) : (tensor<!tf_type.variant>) -> tensor<!tf_type.variant>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 7.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/nms_utils.cc
Value iou_threshold = func_.getArgument(3); Value score_threshold = func_.getArgument(4); auto output_type0 = func_.getFunctionType().getResult(0); auto output_type1 = func_.getFunctionType().getResult(1); OpBuilder builder(func_.getBody()); auto op = builder.create<mlir::TFL::NonMaxSuppressionV4Op>( func_.getLoc(), output_type0, output_type1, boxes, scores, max_output_size, iou_threshold, score_threshold);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/arithmetic_count_util.h
auto output = op->getResult(0); auto output_type = mlir::dyn_cast_or_null<mlir::RankedTensorType>(output.getType()); if (output_type == nullptr || !output_type.hasStaticShape()) return false; int64_t cols = 1; for (int i = 0; i < output_type.getRank() - 1; ++i) { cols *= output_type.getDimSize(i); } const int64_t cost_per_col = 2 * weight_type.getNumElements();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.1K bytes - Viewed (0) -
tensorflow/c/kernels/ops/bitcast.cc
TF_DataType output_type, TF_Status* status) { size_t input_type_size = TF_DataTypeSize(input_type); size_t output_type_size = TF_DataTypeSize(output_type); if (input_type_size == 0 || output_type_size == 0) { std::ostringstream err; err << "Cannot bitcast type " << input_type << " to " << output_type << " because one of the type sizes is zero";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 07:51:50 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/modify_io_nodes.cc
public: MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(ModifyIONodesPass) explicit ModifyIONodesPass() {} explicit ModifyIONodesPass(mlir::Type input_type, mlir::Type output_type) { this->input_type = input_type; this->output_type = output_type; } void runOnOperation() override; private: // Assign the io types from the command line flag. This is only required for // tests.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/commandLineOption-optionValues/kotlin/buildSrc/src/main/java/UrlProcess.java
public void setOutputType(OutputType outputType) { this.outputType = outputType; } @OptionValues("output-type") public List<OutputType> getAvailableOutputTypes() { return new ArrayList<OutputType>(Arrays.asList(OutputType.values())); } @Input public OutputType getOutputType() { return outputType; } @TaskAction
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/commandLineOption-optionValues/groovy/buildSrc/src/main/java/UrlProcess.java
public void setOutputType(OutputType outputType) { this.outputType = outputType; } @OptionValues("output-type") public List<OutputType> getAvailableOutputTypes() { return new ArrayList<OutputType>(Arrays.asList(OutputType.values())); } @Input public OutputType getOutputType() { return outputType; } @TaskAction
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/OutputFilePropertyType.java
DIRECTORY(TreeType.DIRECTORY), FILES(TreeType.FILE), DIRECTORIES(TreeType.DIRECTORY); private final TreeType outputType; OutputFilePropertyType(TreeType outputType) { this.outputType = outputType; } public TreeType getOutputType() { return outputType; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_op_order.cc
auto input_type = mlir::dyn_cast<RankedTensorType>(dequantize_op.getOutput().getType()); auto output_type = mlir::dyn_cast<RankedTensorType>( passthrough_op->getResult(0).getType()); if (!input_type || !output_type || get_num_elements(input_type) <= get_num_elements(output_type)) { return failure(); } Type input_element_type = getElementTypeOrSelf(dequantize_op.getInput());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/cc/ops/const_op_test.cc
auto c = ops::Const(root, 42.0f); TF_EXPECT_OK(root.status()); EXPECT_EQ(c.op().output_type(0), DT_FLOAT); ExpectNodeEqual<float>(c.node(), {42.0f}, {}); } TEST(ConstOpTest, MultiDim) { Scope root = Scope::NewRootScope(); auto c = ops::Const(root, {{2.0}, {3.0}}); TF_CHECK_OK(root.status()); EXPECT_EQ(c.op().output_type(0), DT_DOUBLE); ExpectNodeEqual<double>(c.node(), {2.0, 3.0}, {2, 1}); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 12 14:38:21 UTC 2019 - 4.9K bytes - Viewed (0)