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_topology_view.h87 const absl::InlinedVector<int, 4>& GetFanin(int node_idx) const;
Dgraph_view_test.cc211 auto fanin = graph.GetFanin(input); in TEST_F()
219 fanin = graph.GetFanin(input); in TEST_F()
227 fanin = graph.GetFanin(input); in TEST_F()
414 graph_view.GetFanin({node, 0}); in BM_GraphViewGetFanin()
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 const int max_size = graph_view.GetFanin(fanout).size(); in ComputeTopologicalOrder()
99 const int max_size = graph_view.GetFanin(i).size(); in ComputeTopologicalOrder()
Dtraversal.cc108 for (const int fanin : graph_view.GetFanin(w.node)) { in DfsTraversal()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dauto_mixed_precision.cc435 const absl::InlinedVector<int, 4>& GetFanin(int node_idx) const;
655 const absl::InlinedVector<int, 4>& GraphTypeTopologyView::GetFanin( in GetFanin() function in tensorflow::grappler::__anonab6217530111::GraphTypeTopologyView
811 for (const int fanin : graph_type_view.GetFanin(w.node)) { in DfsTypeTraversal()