Home
last modified time | relevance | path

Searched refs:node_input (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_stats.cc211 string node_input = it->second->input(i); in AddGraph() local
215 auto prefix_pos = node_input.find(':'); in AddGraph()
216 if (prefix_pos != node_input.npos) { in AddGraph()
217 std::vector<string> input_parts = absl::StrSplit(node_input, ':'); in AddGraph()
219 << "Unknown NodeDef.input format: " << node_input; in AddGraph()
220 node_input = input_parts[0]; in AddGraph()
224 if (node_input.substr(0, 1) == "^") { in AddGraph()
225 node_input = node_input.substr(1); in AddGraph()
230 node->AddInput(node_input, output_idx, i); in AddGraph()
/external/tensorflow/tensorflow/core/kernels/hexagon/
Dgraph_transferer.cc266 for (const GraphTransferNodeInput& node_input : in SortParams() local
267 input_map.at(node_id)->node_input()) { in SortParams()
268 dependency_map.at(node_id).emplace(node_input.node_id()); in SortParams()
771 GraphTransferNodeInput& node_input = *node_input_info.add_node_input(); in RegisterPadNode() local
772 node_input.set_node_id(id); in RegisterPadNode()
773 node_input.set_output_port(0); in RegisterPadNode()
881 GraphTransferNodeInput& node_input = *node_input_info->add_node_input(); in AddNodeInputByInputIndex() local
882 node_input.set_node_id(src_id); in AddNodeInputByInputIndex()
883 node_input.set_output_port(port); in AddNodeInputByInputIndex()
897 GraphTransferNodeInput& node_input = *node_input_info.add_node_input(); in AppendNodeInputParams() local
[all …]
Dhexagon_control_wrapper.cc180 GraphTransferNodeInput& node_input = *node_input_info.add_node_input(); in SetupGraph() local
181 node_input.set_node_id(node_info->node_id()); in SetupGraph()
182 node_input.set_output_port(port); in SetupGraph()
215 const GraphTransferNodeInput& node_input = input_params.node_input(i); in SetupGraph() local
216 node_ids[i] = node_input.node_id() + NODE_ID_OFFSET; in SetupGraph()
217 ports[i] = node_input.output_port(); in SetupGraph()
Dgraph_transferer_test.cc247 for (const GraphTransferNodeInput& node_input : in SanityCheckNodes() local
248 input_params->node_input()) { in SanityCheckNodes()
249 EXPECT_GE(node_input.output_port(), 0); in SanityCheckNodes()
/external/tensorflow/tensorflow/lite/toco/tensorflow_graph_matching/
Dresolve_cluster.cc45 for (const std::string& node_input : node.input()) { in AddNodeToGraph() local
48 if (StrContains(node_input, cluster_name) && in AddNodeToGraph()
56 new_node->add_input(node_input); in AddNodeToGraph()
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dfusion_utils.cc196 for (auto& node_input : *function_node.mutable_input()) { in GetUniqueSignature()
197 const auto& input = ParseNodeConnection(node_input); in GetUniqueSignature()
200 node_input = *new_name + ParseOutputNode(node_input); in GetUniqueSignature()
217 for (auto& node_input : *function_node.mutable_input()) { in FuseFunctionNodes()
218 auto parsed_name = ParseNodeConnection(node_input); in FuseFunctionNodes()
225 node_input = in FuseFunctionNodes()
/external/tensorflow/tensorflow/python/tpu/
Dtpu_test.py142 for (input_index, node_input) in enumerate(node.input):
143 if node_input == "b":
145 if node_input == "y":
/external/tensorflow/tensorflow/python/framework/
Dgraph_util_impl.py341 for node_input in node.input:
342 if "^" in node_input:
343 control_input_names.add(node_input.replace("^", ""))
/external/tensorflow/tensorflow/core/framework/
Dgraph_transfer_info.proto35 repeated GraphTransferNodeInput node_input = 2; field
/external/tensorflow/tensorflow/core/common_runtime/
Dgraph_constructor.cc927 const string& node_input = node_def->input(i); in AddControlDependencies() local
928 if (node_input[0] != '^') { in AddControlDependencies()
933 if (node_input == input) { in AddControlDependencies()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes_test.cc2170 std::vector<NodeInput> node_input{ in TEST_P() local
2214 for (int i = 0; i < node_input.size(); i++) { in TEST_P()
2235 node_input[i].name, in TEST_P()
2244 partial_input_shape[1] = node_input[i].dims[1]; in TEST_P()
2246 AddTestTensor(node_input[i].name, node_input[i].dims, tf_type_, in TEST_P()
2247 node_input[i].val, partial_input_shape, in TEST_P()
2251 AddTestWeights(node_input[i].name, node_input[i].dims, in TEST_P()
2252 node_input[i].val, tf_type_); in TEST_P()
2255 TestOpConverter("my_batchnorm", node_def, node_input[0].dims, in TEST_P()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dauto_mixed_precision.cc1832 GraphView::InputPort node_input(&node, 0); in NodeImplicitlyReadsNonResourceVariable() local
1834 graph_view_.GetRegularFanin(node_input); in NodeImplicitlyReadsNonResourceVariable()