Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/grappler/
Dutils_test.cc550 TEST_F(UtilsTest, SafeTensorIdToString) { in TEST_F() argument
551 EXPECT_EQ(SafeTensorIdToString({"foo", -1}), "^foo"); in TEST_F()
552 EXPECT_EQ(SafeTensorIdToString({"foo", 0}), "foo"); in TEST_F()
553 EXPECT_EQ(SafeTensorIdToString({"foo", 1}), "foo:1"); in TEST_F()
554 EXPECT_EQ(SafeTensorIdToString({"foo", 2}), "foo:2"); in TEST_F()
Dutils.h284 string SafeTensorIdToString(const SafeTensorId& tensor_id);
Dutils.cc96 string SafeTensorIdToString(const SafeTensorId& tensor_id) { in SafeTensorIdToString() function
/external/tensorflow/tensorflow/core/grappler/utils/
Dgraph_view.cc1235 node_def->add_input(SafeTensorIdToString(fanin)); in ApplyNodeUpdates()
1260 SafeTensorIdToString(update_fanin.second)); in ApplyNodeUpdates()
1284 new_node_def->add_input(SafeTensorIdToString(fanin)); in SetNewNodesFanins()