Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/tools/graph_transforms/
Dtransform_utils.cc107 string CanonicalInputName(const string& input_name) { in CanonicalInputName() function
122 hash = Hash64Combine(hash, Hash64String(CanonicalInputName(input))); in HashNodeDef()
522 is_match = (CanonicalInputName(source_name) == in RenameNodeInputs()
523 CanonicalInputName(new_input_name)); in RenameNodeInputs()
Dinsert_logging.cc76 const string canonical_input = CanonicalInputName(input); in InsertLogging()
Dtransform_utils.h55 string CanonicalInputName(const string& input_name);
Dtransform_utils_test.cc151 EXPECT_EQ("node_name:0", CanonicalInputName("node_name")); in TestCanonicalInputName()
152 EXPECT_EQ("node_name:0", CanonicalInputName("node_name:0")); in TestCanonicalInputName()
153 EXPECT_EQ("^node_name:0", CanonicalInputName("^node_name")); in TestCanonicalInputName()
154 EXPECT_EQ("^node_name:42", CanonicalInputName("^node_name:42")); in TestCanonicalInputName()