- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for output_arg (0.18 sec)
-
tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc
// attributes. for (const tensorflow::OpDef::ArgDef& output_arg : op_def_->output_arg()) { int original_size = state_->types.size(); if (!output_arg.number_attr().empty()) { // Same type repeated "repeats" times. Attribute repeats_attr = attrs_[output_arg.number_attr()]; if (!repeats_attr) return InvalidArgument("Missing attribute '", output_arg.number_attr(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.2K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/renderers/op_implementation_renderer.cc
void OpImplementationRenderer::RenderExecutionListOp() { ArgView output_arg = op_.OnlyOutput(); Statement("int num_retvals = $0.size()", output_arg.VariableName()); Statement("return " + Call(op_.VariableName(), "Execute", {output_arg.VariableName(), "&num_retvals"})); } void OpImplementationRenderer::RenderExecutionSingleOutput() { ArgView output_arg = op_.OnlyOutput(); Statement("int num_retvals = 1");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 05:51:40 UTC 2024 - 3.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc
"'raw_outputs/class_predictions' type: DT_FLOAT } input_arg: { name: " "'anchors' type: DT_FLOAT } output_arg: { name: " "'TFLite_Detection_PostProcess' type: DT_FLOAT } output_arg: { name: " "'TFLite_Detection_PostProcess:1' type: DT_FLOAT } output_arg: { name: " "'TFLite_Detection_PostProcess:2' type: DT_FLOAT } output_arg: { name: " "'TFLite_Detection_PostProcess:3' type: DT_FLOAT } attr : { name: "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun May 12 12:39:37 UTC 2024 - 17.3K bytes - Viewed (0) -
tensorflow/compiler/jit/rearrange_function_argument_pass_test.cc
EXPECT_EQ(f1_rewritten->signature().input_arg(1).type(), DT_RESOURCE); ASSERT_EQ(f1_rewritten->signature().output_arg_size(), 1); EXPECT_EQ(f1_rewritten->signature().output_arg(0).type(), DT_BOOL); // Check node "if" input and output edges. auto node_name_index = g->BuildNodeNameIndex(); const Node *if_node = node_name_index.at("if"); ASSERT_NE(if_node, nullptr);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 11:36:41 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_distributed_test.cc
" signature {" " name: 'AddVariablesFunction'" " input_arg {" " name: 'var'" " type: DT_RESOURCE" " }" " output_arg {" " name: 'sum'" " type: DT_FLOAT" " }" " }" " node_def {" " name: 'read0'" " op: 'ReadVariableOp'" " input: 'var'"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 23.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
// Add derived "result_segment_sizes" attr to the created operation. // TODO(b/146937733): Don't use <void> here. set_segment_sizes_attr(output_ranges, op_def->output_arg(), mlir::OpTrait::AttrSizedResultSegments< void>::getResultSegmentSizeAttr()); } } return success(); } private:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 51K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_cluster_util.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 08:39:39 UTC 2024 - 21.3K bytes - Viewed (0) -
tensorflow/cc/framework/cc_op_gen_util.cc
for (int i = 0; i < graph_op_def.output_arg_size(); ++i) { // ApiDef arguments must be in the same order as in OpDef since // we initialize ApiDef based on OpDef. const auto& arg = graph_op_def.output_arg(i); const auto& api_def_arg(api_def.out_arg(i)); CHECK_EQ(arg.name(), api_def_arg.name()); bool is_list = ArgIsList(arg); output_types.push_back(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:57:05 UTC 2024 - 25K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td
def tpu_subgraph(): return tf.tpu.rewrite(model_fn, args) return tf.raw_ops.TPUPartitionedCall( args=tpu_subgraph.captured_inputs, Tout=[o.type for o in tpu_subgraph.definition.signature.output_arg], f=tpu_subgraph, device_ordinal=[0]) static_shape = tf.placeholder(tf.int32, shape=([3]), name='static_size') w = tf.Variable(tf.constant([[1.0], [2.0], [3.0]]), name='w')
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 04:08:35 UTC 2024 - 90.5K bytes - Viewed (0)