Produces a formatted string pattern from the name which can uniquely identify this node upstream to produce an informative error message. The pattern followed is: {{node }} Note: The pattern below determines the regex _NODEDEF_NAME_RE in the file tensorflow/python/client/session.py LINT.IfChange
| 127 | // tensorflow/python/client/session.py |
| 128 | // LINT.IfChange |
| 129 | inline string FormatNodeNameForError(const string& name) { |
| 130 | return strings::StrCat("{{node ", name, "}}"); |
| 131 | } |
| 132 | // LINT.ThenChange(//tensorflow/python/client/session.py) |
| 133 | template <typename T> |
| 134 | string FormatNodeNamesForError(const T& names) { |
no test coverage detected