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

Function NewName

tensorflow/core/common_runtime/function.cc:2232–2238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2230}
2231
2232string NewName(const Node* n, bool pretty) {
2233 if (pretty) {
2234 return strings::StrCat(n->type_string(), n->id());
2235 } else {
2236 return strings::StrCat("n", n->id());
2237 }
2238}
2239
2240// TODO(zhifengc): Maybe this should be the default Graph::AsGraphDef.
2241// and stash the original NodeDef name as an attr for documentation

Callers 15

CaseBuilderMethod · 0.85
CreatePivotNodesMethod · 0.85
AddInputMethod · 0.85
AddOutputsMethod · 0.85
CondBuilderMethod · 0.85
CreatePivotNodesMethod · 0.85
AddInputMethod · 0.85
AddOutputsMethod · 0.85
LowerWhileHelperMethod · 0.85
CreateEnterNodesMethod · 0.85
CreateMergeNodesMethod · 0.85

Calls 2

StrCatFunction · 0.50
idMethod · 0.45

Tested by

no test coverage detected