Searched refs:SwapNodeNames (Results 1 – 3 of 3) sorted by relevance
/external/tensorflow/tensorflow/core/grappler/ |
D | mutable_graph_view_test.cc | 463 TF_EXPECT_OK(graph.SwapNodeNames("foo_1", "foo_2", update_fanouts)); in TestSwapNodeNames() 481 TEST(MutableGraphView, SwapNodeNames) { in TEST() argument 491 TF_EXPECT_OK(graph.SwapNodeNames("identity_1", "identity_1", update_fanouts)); in TestSwapNodeNamesWithSameNames() 521 graph.SwapNodeNames("switch_1", "switch_2", /*update_fanouts=*/false)); in TEST() 545 graph.SwapNodeNames("switch_1", "switch_2", /*update_fanouts=*/true)); in TEST() 568 TF_EXPECT_OK(graph.SwapNodeNames("a", "switch_1", /*update_fanouts=*/false)); in TEST() 590 TF_EXPECT_OK(graph.SwapNodeNames("a", "switch_1", /*update_fanouts=*/true)); in TEST() 613 TF_EXPECT_OK(graph.SwapNodeNames("switch_2", "b", /*update_fanouts=*/false)); in TEST() 635 TF_EXPECT_OK(graph.SwapNodeNames("switch_2", "b", /*update_fanouts=*/true)); in TEST() 660 TF_EXPECT_OK(graph.SwapNodeNames("a", "b", update_fanouts)); in TestSwapNodeNamesSimpleSelfLoop() [all …]
|
D | mutable_graph_view.h | 118 Status SwapNodeNames(absl::string_view from_node_name,
|
D | mutable_graph_view.cc | 590 Status MutableGraphView::SwapNodeNames(absl::string_view from_node_name, in SwapNodeNames() function in tensorflow::grappler::MutableGraphView
|