diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-09-04 16:52:11 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-09-04 16:57:41 -0700 |
commit | a2e3dcdb4f439f05592b3e4698cb25a28d85a3b7 (patch) | |
tree | 2d45bd1404bc1169bc847266071f2b4ce8871c78 /tensorflow/core/lib | |
parent | 84ada6e2ce3d830f5cf3490e30f408f7459d0eab (diff) |
There were two different error reporting formats within TensorFlow: `{{key value}}` and `^^key:value^^`. This change consolidate these two format.
PiperOrigin-RevId: 211550259
Diffstat (limited to 'tensorflow/core/lib')
-rw-r--r-- | tensorflow/core/lib/core/errors.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tensorflow/core/lib/core/errors.h b/tensorflow/core/lib/core/errors.h index 982901a39c..d5cbe6c616 100644 --- a/tensorflow/core/lib/core/errors.h +++ b/tensorflow/core/lib/core/errors.h @@ -136,11 +136,9 @@ string FormatNodeNamesForError(const T& names) { ::tensorflow::strings::StrAppend(output, FormatNodeNameForError(s)); }); } -// TODO(b/113350742): Consolidate the two different formats `{{key value}}` and -// `^^key:value^^` in a follow-on CL. // LINT.IfChange inline string FormatColocationNodeForError(const string& name) { - return strings::StrCat("^^colocation_node:", name, "^^"); + return strings::StrCat("{{colocation_node ", name, "}}"); } // LINT.ThenChange(//tensorflow/python/framework/error_interpolation.py) template <typename T> |