Home
last modified time | relevance | path

Searched refs:HasFanout (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/utils/
Dgraph_view_test.cc687 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 …]
Dgraph_view.h98 bool HasFanout(const FaninView& fanout) const override;
227 bool HasFanout(const MutableFaninView& fanout) const override;
Dgraph_view_internal.h223 virtual bool HasFanout(const FaninViewT& fanout) const = 0;
Dgraph_view.cc56 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