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

Function AttachDef

tensorflow/core/framework/node_def_util.cc:835–847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

833}
834
835Status AttachDef(const Status& status, const NodeDef& node_def,
836 bool allow_multiple_formatted_node) {
837 Status ret = status;
838 string node_error;
839 if (!allow_multiple_formatted_node &&
840 status.error_message().find("{{node ") != string::npos) {
841 node_error = node_def.name();
842 } else {
843 node_error = FormatNodeDefForError(node_def);
844 }
845 errors::AppendToMessage(&ret, strings::StrCat(" [[", node_error, "]]"));
846 return ret;
847}
848
849Status AttachDef(const Status& status, const Node& node,
850 bool allow_multiple_formatted_node) {

Callers 12

CompileMethod · 0.85
FindMethod · 0.85
TESTFunction · 0.85
RunMethod · 0.85
PrepareInputsMethod · 0.85
ProcessOutputsMethod · 0.85
ColocateNodeToGroupMethod · 0.85
InitializeMembersMethod · 0.85
InitializeMethod · 0.85
AddNodeMethod · 0.85

Calls 5

FormatNodeDefForErrorFunction · 0.85
AppendToMessageFunction · 0.85
nameMethod · 0.65
StrCatFunction · 0.50
findMethod · 0.45

Tested by 1

TESTFunction · 0.68