Home
last modified time | relevance | path

Searched refs:TensorIdToString (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/
Dtf2xla.cc74 const string key = TensorIdToString(feed.id()); in AddArgNodes()
96 .Attr(kFeedIdAttr, TensorIdToString(feed.id())) in AddArgNodes()
129 return errors::NotFound("Can't find fetch id: ", TensorIdToString(id)); in AddRetvalNodes()
133 return errors::InvalidArgument("Invalid fetch id: ", TensorIdToString(id), in AddRetvalNodes()
144 .Attr(kFetchIdAttr, TensorIdToString(id)) in AddRetvalNodes()
174 missing_feeds.insert(TensorIdToString(feed.id())); in RewriteAndPruneGraph()
177 missing_fetches.insert(TensorIdToString(fetch.id())); in RewriteAndPruneGraph()
Dtf2xla_util.h50 string TensorIdToString(const tf2xla::TensorId& id);
Dtf2xla_util.cc346 const string name_port = TensorIdToString(feed->id()); in AddPlaceholdersForFeeds()
367 TensorIdToString(feed_id)); in AddPlaceholdersForFeeds()
496 string TensorIdToString(const tf2xla::TensorId& id) { in TensorIdToString() function
/external/tensorflow/tensorflow/core/grappler/
Dutils_test.cc470 TEST_F(UtilsTest, TensorIdToString) { in TEST_F() argument
471 EXPECT_EQ(TensorIdToString({"foo", -1}), "^foo"); in TEST_F()
472 EXPECT_EQ(TensorIdToString({"foo", 0}), "foo"); in TEST_F()
473 EXPECT_EQ(TensorIdToString({"foo", 1}), "foo:1"); in TEST_F()
474 EXPECT_EQ(TensorIdToString({"foo", 2}), "foo:2"); in TEST_F()
Dmutable_graph_view.cc117 string control = TensorIdToString({to_node_name, Graph::kControlSlot}); in SwapControlledFanoutInputs()
141 string input = TensorIdToString({to_node_name, i}); in SwapRegularFanoutInputs()
669 node->set_input(i, TensorIdToString({old_node_name, idx})); in SwapNodeNames()
816 TensorIdToString({to_node->name(), output_port.port_id})); in UpdateFanoutsInternal()
864 node->add_input(TensorIdToString({fanin.node->name(), fanin.port_id})); in AddFaninInternal()
930 node->add_input(TensorIdToString(fanin)); in AddRegularFaninByPort()
1006 new_node.add_input(TensorIdToString({fanin.node->name(), fanin.port_id})); in GetOrCreateIdentityConsumingSwitch()
1287 string to_fanin_string = TensorIdToString(to_fanin); in UpdateFanin()
1363 node->set_input(port, TensorIdToString(fanin)); in UpdateRegularFaninByPort()
Dutils.h105 string TensorIdToString(const TensorId& tensor_id);
Dutils.cc160 string TensorIdToString(const TensorId& tensor_id) { in TensorIdToString() function
Dmutable_graph_view_test.cc1682 string tensor_id_str = TensorIdToString(fanin); in TestUpdateFaninFromFaninToNodeAsSwitchControl()