tensorflow/core/grappler/graph_analyzer/graph_analyzer_test.cc
// Successfully propagate backwards through a multi-input link,
// but no control links propagate. It also tests the situation
// where the target subgraph size is larger.
Successfully propagate backwards through a multi-input link,
but no control links propagate. It also tests the situation
where the target subgraph size is larger.
Successfully propagate backwards through a multi - input link but no control links propagate . It also tests the situation where the target subgraph size is larger .
TEST_F(GraphAnalyzerTest, AllOrNoneInputSuccessBackwardsNoControl) {
  gran_ = absl::make_unique<GraphAnalyzer>(graph_all_or_none_, 5);
  Status st = BuildMap();
  ASSERT_THAT(st, Eq(Status::OK()));
  auto root =
      absl::make_unique<Subgraph>(Subgraph::Identity({GetNode("pass1")}));
  ExtendSubgraphAllOrNone(root.get(), GetNode("pass1"));
  EXPECT_THAT(DumpRawSubgraphs(), UnorderedElementsAre());
  EXPECT_THAT(DumpPartials(), UnorderedElementsAre(
      "1: Const(const1_1), Const(const1_2), IdentityN(pass1)"
      ));
  EXPECT_THAT(GetTodo(), SizeIs(1));
}
TEST_F ( GraphAnalyzerTest , AllOrNoneInputSuccessBackwardsNoControl ) { gran_ = absl :: make_unique < GraphAnalyzer > ( graph_all_or_none_ , 5 ) ; Status st = BuildMap ( ) ; ASSERT_THAT ( st , Eq ( Status :: OK ( ) ) ) ; auto root = absl :: make_unique < Subgraph > ( Subgraph :: Identity ( { GetNode ( " " ) } ) ) ; ExtendSubgraphAllOrNone ( root . get ( ) , GetNode ( " " ) ) ; EXPECT_THAT ( DumpRawSubgraphs ( ) , UnorderedElementsAre ( ) ) ; EXPECT_THAT ( DumpPartials ( ) , UnorderedElementsAre ( " " ) ) ; EXPECT_THAT ( GetTodo ( ) , SizeIs ( 1 ) ) ; }
Successfully propagate backwards through a multi-input link,
but no control links propagate.
Successfully propagate backwards through a multi - input link but no control links propagate .
// clang-format off // clang-format on