Home
last modified time | relevance | path

Searched refs:NodePosition (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/
Dutils_test.cc154 TEST_F(UtilsTest, NodePosition) { in TEST_F() argument
155 EXPECT_EQ(NodePosition("abc:2"), 2); in TEST_F()
156 EXPECT_EQ(NodePosition("abc:123"), 123); in TEST_F()
157 EXPECT_EQ(NodePosition("^abc:123"), -1); in TEST_F()
158 EXPECT_EQ(NodePosition("^abc"), -1); in TEST_F()
159 EXPECT_EQ(NodePosition(""), 0); in TEST_F()
Dutils.h95 inline int NodePosition(const string& name) { in NodePosition() function
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_scheduler.cc499 const auto input_node_port_num = NodePosition(input_node_name); in Init()
626 const auto input_node_port_num = NodePosition(input_source_name); in MaybeUpdateInputOutput()
671 auto input_node_port_num = NodePosition(input_name); in CreateSendRecv()