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

Function NodeName

tensorflow/core/grappler/utils.h:168–170  ·  view source on GitHub ↗

Return the node name corresponding to 'name' if name is valid, or the empty string otherwise.

Source from the content-addressed store, hash-verified

166// Return the node name corresponding to 'name' if name is valid, or the empty
167// string otherwise.
168inline string NodeName(const string& name) {
169 return string(NodeNameAsStringPiece(name));
170}
171
172inline int NodePosition(const string& name) {
173 int position;

Callers 15

NodesToPreserveMethod · 0.85
ComputeTransitiveFaninFunction · 0.85
NodeMapMethod · 0.85
RemoveNodeMethod · 0.85
GetNodeMethod · 0.85
NodeExistsMethod · 0.85
AddOutputMethod · 0.85
RemoveOutputMethod · 0.85
UpdateInputMethod · 0.85
RemoveInputsMethod · 0.85
UpdateOutputMethod · 0.85

Calls 1

NodeNameAsStringPieceFunction · 0.85

Tested by 4

TEST_FFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68