Searched refs:HasFanin (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/core/grappler/ |
D | graph_view_test.cc | 244 TEST_F(GraphViewTest, HasFanin) { in TEST_F() argument 258 EXPECT_EQ(graph.HasFanin(*d_node, {"a", Graph::kControlSlot}), true); in TEST_F() 259 EXPECT_EQ(graph.HasFanin(*d_node, {"a", 0}), false); in TEST_F() 260 EXPECT_EQ(graph.HasFanin(*d_node, {"b", 0}), true); in TEST_F() 261 EXPECT_EQ(graph.HasFanin(*d_node, {"b", Graph::kControlSlot}), false); in TEST_F() 262 EXPECT_EQ(graph.HasFanin(*d_node, {"c", 0}), true); in TEST_F() 263 EXPECT_EQ(graph.HasFanin(*d_node, {"c", Graph::kControlSlot}), false); in TEST_F()
|
D | graph_view.h | 182 bool HasFanin(const NodeDefT& node, const TensorId& fanin) const { in HasFanin() function
|