Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/grappler/
Dgraph_topology_view_test.cc83 EXPECT_EQ(graph_view.GetFanin(0), Fanin()); in TEST_F()
84 EXPECT_EQ(graph_view.GetFanin(1), Fanin()); in TEST_F()
85 EXPECT_EQ(graph_view.GetFanin(2), Fanin({0, 1})); in TEST_F()
86 EXPECT_EQ(graph_view.GetFanin(3), Fanin({0, 2})); in TEST_F()
108 EXPECT_EQ(graph_view.GetFanin(2), Fanin({0, 1, 3})); in TEST_F()
109 EXPECT_EQ(graph_view.GetFanin(3), Fanin({0, 2})); in TEST_F()
130 EXPECT_EQ(graph_view.GetFanin(2), Fanin({0, 1, 3})); in TEST_F()
131 EXPECT_EQ(graph_view.GetFanin(3), Fanin({0, 2})); in TEST_F()
143 EXPECT_EQ(graph_view.GetFanin(2), Fanin({0, 1})); in TEST_F()
144 EXPECT_EQ(graph_view.GetFanin(3), Fanin({0, 2})); in TEST_F()
Dmutable_graph_view.h55 using GraphViewInternal::GetFanin;
56 absl::flat_hash_set<OutputPort> GetFanin(
Dgraph_view_test.cc210 auto fanin = graph.GetFanin(input); in TEST_F()
218 fanin = graph.GetFanin(input); in TEST_F()
226 fanin = graph.GetFanin(input); in TEST_F()
412 graph_view.GetFanin({node, 0}); in BM_GraphViewGetFanin()
Dgraph_topology_view.h87 const absl::InlinedVector<int, 4>& GetFanin(int node_idx) const;
Dgraph_view.cc79 return !graph_view.GetFanin(control_port).empty(); in HasControlFanin()
Dgraph_topology_view.cc194 const absl::InlinedVector<int, 4>& GraphTopologyView::GetFanin( in GetFanin() function in tensorflow::grappler::GraphTopologyView
Dgraph_view.h145 absl::flat_hash_set<OutputPort> GetFanin(const InputPort& port) const { in GetFanin() function
Dmutable_graph_view.cc422 absl::flat_hash_set<MutableGraphView::OutputPort> MutableGraphView::GetFanin( in GetFanin() function in tensorflow::grappler::MutableGraphView
424 return GetFanin(MutableGraphView::InputPort(const_cast<NodeDef*>(port.node), in GetFanin()
Dmutable_graph_view_test.cc51 EXPECT_TRUE(graph.GetFanin(input_port).contains(output_port)); in CompareNodeFanins()
/external/tensorflow/tensorflow/core/grappler/utils/
Dtopological_sort.cc67 if (graph_view.GetFanin(i).empty()) { in ComputeTopologicalOrder()
72 for (int input : graph_view.GetFanin(i)) { in ComputeTopologicalOrder()
84 if (num_ready_inputs[fanout] == graph_view.GetFanin(fanout).size()) { in ComputeTopologicalOrder()
Dtraversal.cc108 for (const int fanin : graph_view.GetFanin(w.node)) { in DfsTraversal()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dfunction_optimizer.cc1609 ctx->graph_view().GetFanin(control_input_port), in InlineIndirectFunctionCall()