Home
last modified time | relevance | path

Searched refs:FindNodeId (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/core/graph/
Dalgorithm_test.cc170 g.AddEdge(g.FindNodeId(n3->id()), 0, g.FindNodeId(n1->id()), 1); in TEST()
178 g.sink_node(), g.FindNodeId(n3->id()), g.FindNodeId(n2->id()), in TEST()
179 g.FindNodeId(n1->id()), g.FindNodeId(n0->id()), g.source_node()}; in TEST()
218 visited.insert(graph.FindNodeId(graph.num_nodes() - 1)); in BM_PruneForReverseReachability()
Dvalidate.cc70 const Node* n = graph.FindNodeId(i); in ValidateGraphHasNoCycle()
107 nodes_in_cycle.push_back(graph.FindNodeId(i)->name()); in ValidateGraphHasNoCycle()
Dgraph.h668 Node* FindNodeId(int id) const { return nodes_[id]; } in FindNodeId() function
685 Node* source_node() const { return FindNodeId(kSourceId); } in source_node()
686 Node* sink_node() const { return FindNodeId(kSinkId); } in sink_node()
937 if (id_ >= graph_->num_node_ids() || graph_->FindNodeId(id_) != nullptr) {
943 inline Node* NodeIter::operator*() const { return graph_->FindNodeId(id_); }
945 inline Node* NodeIter::operator->() const { return graph_->FindNodeId(id_); }
Dalgorithm.cc244 Node* n = g->FindNodeId(i); in PruneForReverseReachability()
Dgraph_test.cc317 Node* node = graph_.FindNodeId(id); in TEST_F()
Dgraph.cc766 const Node* node = FindNodeId(id); in ToGraphDefSubRange()
Dgraph_partition.cc650 Node* node = g->FindNodeId(i); in AddControlFlow()
/external/tensorflow/tensorflow/core/common_runtime/
Dgraph_execution_state.h162 return graph_->FindNodeId(iter->second); in get_node_by_name()
Dlower_functional_ops.cc166 Node* n = g->FindNodeId(i); in Run()
Dforward_type_inference.cc255 Node* n = g->FindNodeId(nid); in Run()
Dgraph_constructor_test.cc929 const string& source = graph_.FindNodeId(Graph::kSourceId)->name(); in TEST_F()
930 const string& sink = graph_.FindNodeId(Graph::kSinkId)->name(); in TEST_F()
2441 const string& source = graph_.FindNodeId(Graph::kSourceId)->name(); in TEST_F()
2442 const string& sink = graph_.FindNodeId(Graph::kSinkId)->name(); in TEST_F()
Dconstant_folding_test.cc184 Node* n1 = g1.FindNodeId(i); in TEST_F()
/external/tensorflow/tensorflow/compiler/jit/
Dresource_operation_safety_analysis.cc295 << NodeToString(*g.FindNodeId(incoming_op.first), in ComputeIncompatibleResourceOperationPairs()
Dmark_for_compilation_pass.cc222 Node* node = graph.FindNodeId(cycles_graph_node_id()); in DebugString()
374 graph_->FindNodeId(node_id) == nullptr) { in GetClusterForCyclesGraphNode()
537 Node* node = graph_->FindNodeId(cycles_graph_node_id); in DebugStringForCyclesGraphNode()
699 ? graph_->FindNodeId(cluster.GetIdOfOnlyNode()) in GetOnlyNodeIn()
Dencapsulate_util.cc143 Node* dst = g->FindNodeId(edges[i].dst_node_id); in PreprocessDataEdgesBetweenOutsideCompilations()
Dxla_cluster_util.cc63 auto* node = graph.FindNodeId(node_id); in DescribeCycle()
Dencapsulate_xla_computations_pass_test.cc165 return graph->FindNodeId(node->id()); in TEST()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_graph.cc374 Node* input_node = graph->FindNodeId(conn.outside_id); in CreateTRTNode()
431 Node* input_node = graph->FindNodeId(conn.outside_id); in CreateTRTNode()
548 Node* output_node = graph->FindNodeId(conn.outside_id); in CreateTRTNode()
Dconvert_nodes.cc6031 auto outside_node = graph->FindNodeId(connection.outside_id); in ConvertSegmentToGraphDef()
6042 graph->FindNodeId(connection.outside_id), in ConvertSegmentToGraphDef()
6047 graph->FindNodeId(connection.outside_id), in ConvertSegmentToGraphDef()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/segment/
Dsegment.cc133 SimpleNode* FindNodeId(int node_id) { in FindNodeId() function in tensorflow::tensorrt::segment::__anon591344890111::SimpleGraph
167 const auto n = g->FindNodeId(i); in SimpleGraph()
894 SimpleNode* node = graph->FindNodeId(i); in SegmentGraph()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dfunction_optimizer.cc1152 g->AddControlEdge(g->FindNodeId(node->id()), caller, in AddStrictInputSemantics()
1182 Node* enter = g->FindNodeId(frame->id()); in AddFrameForwardingControlEdge()
1253 Node* n = graph->FindNodeId(i); in InlineFunctionCalls()
/external/tensorflow/tensorflow/c/
Dc_api.cc311 Node* const node = graph.FindNodeId(id); in ExtendSessionGraphHelper()
1596 Node* node = graph->graph.FindNodeId(*pos); in TF_GraphNextOperation()
1746 auto* node = graph->graph.FindNodeId(i); in GraphImportGraphDefLocked()
2069 Node* new_node = parent->graph.FindNodeId(i); in TF_FinishWhileHelper()
2159 Node* n = g->graph.FindNodeId(i); in TF_AddGradientsWithPrefix()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dfunctionalize_cond.cc1380 Node* s = graph_->FindNodeId(s_id); in DeleteReachableAndDeadNodes()
1428 Node* d = graph_->FindNodeId(d_id); in DeleteReachableAndDeadNodes()
Dtf2xla_util.cc150 Node* usage_node = g->FindNodeId(usages[i].dst_node_id); in ReplaceSrcOutputUsageWithNode()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dimport_model.cc2289 auto* node = graph_->FindNodeId(arg->id()); in InferLibFunctionType()
2304 auto* node = graph_->FindNodeId(arg->id()); in InferLibFunctionType()
2328 auto* node = graph_->FindNodeId(ret->id()); in InferLibFunctionType()

12