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

Function TensorIdToString

tensorflow/core/grappler/utils.cc:162–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162string TensorIdToString(const TensorId& tensor_id) {
163 return tensor_id.index() == 0 ? string(tensor_id.node())
164 : tensor_id.ToString();
165}
166
167string SafeTensorIdToString(const SafeTensorId& tensor_id) {
168 return tensor_id.index() == 0 ? tensor_id.node() : tensor_id.ToString();

Callers 12

SwapRegularFanoutInputsFunction · 0.70
SwapNodeNamesMethod · 0.70
UpdateFanoutsInternalMethod · 0.70
AddFaninInternalMethod · 0.70
AddRegularFaninByPortMethod · 0.70
UpdateFaninMethod · 0.70
TEST_FFunction · 0.70

Calls 3

indexMethod · 0.45
nodeMethod · 0.45
ToStringMethod · 0.45

Tested by 2

TEST_FFunction · 0.56