MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / SafeTensorIdToString

Function SafeTensorIdToString

tensorflow/core/grappler/utils.cc:167–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167string SafeTensorIdToString(const SafeTensorId& tensor_id) {
168 return tensor_id.index() == 0 ? tensor_id.node() : tensor_id.ToString();
169}
170
171bool IsSameInput(const string& name1, const string& name2) {
172 if (name1 == name2) return true;

Callers 3

TEST_FFunction · 0.85
ApplyNodeUpdatesMethod · 0.85
SetNewNodesFaninsMethod · 0.85

Calls 3

indexMethod · 0.45
nodeMethod · 0.45
ToStringMethod · 0.45

Tested by 1

TEST_FFunction · 0.68