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

Function FormatNodeNamesForError

tensorflow/core/lib/core/errors.h:134–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132// LINT.ThenChange(//tensorflow/python/client/session.py)
133template <typename T>
134string FormatNodeNamesForError(const T& names) {
135 return absl::StrJoin(names, ", ", [](string* output, const string& s) {
136 ::tensorflow::strings::StrAppend(output, FormatNodeNameForError(s));
137 });
138}
139// LINT.IfChange
140inline string FormatColocationNodeForError(const string& name) {
141 return strings::StrCat("{{colocation_node ", name, "}}");

Callers 2

FunctionalizeWhileLoopFunction · 0.85
FormatNodeForErrorFunction · 0.85

Calls 2

FormatNodeNameForErrorFunction · 0.85
StrAppendFunction · 0.50

Tested by

no test coverage detected