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

Function FormatNodeForError

tensorflow/core/framework/node_def_util.cc:123–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123string FormatNodeForError(const NodeDebugInfo& debug_info) {
124 return debug_info.original_node_names.empty()
125 ? errors::FormatNodeNameForError(debug_info.name)
126 : errors::FormatNodeNamesForError(debug_info.original_node_names);
127}
128
129string FormatNodeForError(const Node& node) {
130 return FormatNodeForError(NodeDebugInfo(node));

Callers 15

CheckNodeNotInCycleFunction · 0.85
FunctionalizeLoopFunction · 0.85
ValidateGraphFunction · 0.85
BuildArgumentNodesMethod · 0.85
ExtractBodiesMethod · 0.85
AddOutputEdgesMethod · 0.85
RemoveRedundantMergeMethod · 0.85
RemoveRedundantSwitchMethod · 0.85
CollectArgNodesFunction · 0.85
CompileMethod · 0.85

Calls 4

FormatNodeNameForErrorFunction · 0.85
FormatNodeNamesForErrorFunction · 0.85
NodeDebugInfoClass · 0.70
emptyMethod · 0.45

Tested by 3

TESTFunction · 0.68
FormatForErrorMethod · 0.68