Home
last modified time | relevance | path

Searched refs:last_node_input (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dnoop_elimination_test.cc146 auto last_node_input = (should_keep_node ? node : range_node)->name(); in TEST_P() local
147 EXPECT_EQ(cache_node_out.input(0), last_node_input); in TEST_P()
/external/tensorflow/tensorflow/core/grappler/
Dmutable_graph_view.cc869 const int last_node_input = node->input_size() - 1; in AddFaninInternal() local
872 if (num_regular_fanins < last_node_input) { in AddFaninInternal()
873 node->mutable_input()->SwapElements(last_node_input, num_regular_fanins); in AddFaninInternal()
932 const int last_node_input = node->input_size(); in AddRegularFaninByPort() local
934 node->mutable_input()->SwapElements(num_regular_fanins, last_node_input); in AddRegularFaninByPort()
1149 const int last_node_input = node->input_size() - 1; in RemoveRegularFaninByPort() local
1150 if (last_regular_fanin_port < last_node_input) { in RemoveRegularFaninByPort()
1151 mutable_inputs->SwapElements(last_regular_fanin_port, last_node_input); in RemoveRegularFaninByPort()