Home
last modified time | relevance | path

Searched refs:mutable_inputs (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmodel_pruner.cc367 auto mutable_inputs = node->mutable_input(); in RewriteIdentityNAndInputsOutputs() local
372 mutable_inputs->SwapElements(i, curr_pos); in RewriteIdentityNAndInputsOutputs()
380 mutable_inputs->SwapElements(i, curr_pos++); in RewriteIdentityNAndInputsOutputs()
382 mutable_inputs->DeleteSubrange(curr_pos, num_inputs - curr_pos); in RewriteIdentityNAndInputsOutputs()
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item_builder_test.cc226 (*serving_signature.mutable_inputs())["input"] = input; in TEST_F()
236 (*serving_signature.mutable_inputs())["input2"] = input2; in TEST_F()
268 (*serving_signature.mutable_inputs())["input"] = input; in TEST_F()
295 (*serving_signature.mutable_inputs())["input"] = input; in TEST_F()
Dmutable_graph_view.cc1060 auto mutable_inputs = node->mutable_input(); in RemoveRegularFaninInternal() local
1078 mutable_inputs->SwapElements(i, curr_pos); in RemoveRegularFaninInternal()
1095 mutable_inputs->DeleteSubrange(curr_pos, i - curr_pos); in RemoveRegularFaninInternal()
1140 auto mutable_inputs = node->mutable_input(); in RemoveRegularFaninByPort() local
1147 mutable_inputs->SwapElements(i - 1, i); in RemoveRegularFaninByPort()
1151 mutable_inputs->SwapElements(last_regular_fanin_port, last_node_input); in RemoveRegularFaninByPort()
1153 mutable_inputs->RemoveLast(); in RemoveRegularFaninByPort()
/external/tensorflow/tensorflow/lite/delegates/flex/
Dkernel.cc207 OpInputs* mutable_inputs() { return &inputs_; } in mutable_inputs() function in tflite::flex::OpNode
438 node_data->mutable_inputs()->InitializeTensorSources(tflite_tensor_sources); in Init()
508 node_data->mutable_inputs()->SetForwardable(i, f); in Prepare()
/external/tensorflow/tensorflow/cc/tools/
Dfreeze_saved_model_test.cc43 (*signature_def.mutable_inputs())[input].set_name(input); in BuildSignatureDef()
434 TensorInfo& in = (*signature_def.mutable_inputs())["input_arg"]; in TEST_F()
461 TensorInfo& in = (*signature_def.mutable_inputs())["input_arg"]; in TEST_F()
/external/tensorflow/tensorflow/lite/tools/signature/
Dsignature_def_util_test.cc56 (*signature_def.mutable_inputs())[kSignatureInput] = input_tensor; in GetTestSignatureDef()
/external/tensorflow/tensorflow/core/grappler/costs/
Dutils.cc121 OpInfo::TensorProperties* input = op_info->mutable_inputs(i); in ExtractExtraProperties()
Dop_level_cost_estimator.cc1167 batch_matmul_op_info.mutable_inputs()->Clear(); in GenerateBatchMatmulContextFromEinsum()
2095 new_context.op_info.mutable_inputs()->Clear(); in FusedChildContext()
2097 *new_context.op_info.mutable_inputs()->Add() = input; in FusedChildContext()
Dop_level_cost_estimator_test.cc446 auto* tensor_proto = op_info.mutable_inputs(0)->mutable_value(); in DescribePoolingOp()
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_node.h403 (*node_.mutable_inputs())[inp.first] = nodes_map.at(inp.second)->id(); in ToProto()