Searched refs:HasFanout (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/core/grappler/utils/ |
D | graph_view_test.cc | 687 TYPED_TEST(TypedNodeViewTest, HasFanout) { in TYPED_TEST() argument 704 EXPECT_TRUE(b_node->HasFanout({&graph_view, a_node->node_index(), 2})); in TYPED_TEST() 706 EXPECT_FALSE(b_node->HasFanout({&graph_view, a_node->node_index(), 1})); in TYPED_TEST() 708 EXPECT_TRUE(d_node->HasFanout( in TYPED_TEST() 711 EXPECT_FALSE(d_node->HasFanout( in TYPED_TEST() 714 EXPECT_FALSE(d_node->HasFanout({&graph_view, d_node->node_index(), 0})); in TYPED_TEST() 715 EXPECT_FALSE(a_node->HasFanout({&graph_view, b_node->node_index(), 0})); in TYPED_TEST() 716 EXPECT_FALSE(a_node->HasFanout({&graph_view, 4, 0})); in TYPED_TEST() 717 EXPECT_FALSE(d_node->HasFanout( in TYPED_TEST() 905 EXPECT_TRUE(node_view->HasFanout(actual_fanout)); in CompareGraphViewWithGraph() [all …]
|
D | graph_view.h | 98 bool HasFanout(const FaninView& fanout) const override; 227 bool HasFanout(const MutableFaninView& fanout) const override;
|
D | graph_view_internal.h | 223 virtual bool HasFanout(const FaninViewT& fanout) const = 0;
|
D | graph_view.cc | 56 bool NodeView::HasFanout(const FaninView& fanout) const { in HasFanout() function in tensorflow::grappler::utils::NodeView 191 bool MutableNodeView::HasFanout(const MutableFaninView& fanout) const { in HasFanout() function in tensorflow::grappler::utils::MutableNodeView
|