aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/protobuf
diff options
context:
space:
mode:
authorGravatar James Keeling <jtkeeling@google.com>2018-07-16 06:22:57 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-07-16 06:26:27 -0700
commit00ac59bb3e6808da419488046e66d76043316b62 (patch)
treead25c23e73cfeaf8d7fbfd235ad397e063501e63 /tensorflow/core/protobuf
parent5f173dbf165991306f9327ee2499dc4321c40e94 (diff)
Add experimental config field to output interpolatable error messages
This is part of our effort to improve Python error messages by allowing the runtime to output formatted messages for the Python layer to interpolate. This will be gated by this config field to begin with. PiperOrigin-RevId: 204731230
Diffstat (limited to 'tensorflow/core/protobuf')
-rw-r--r--tensorflow/core/protobuf/config.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/tensorflow/core/protobuf/config.proto b/tensorflow/core/protobuf/config.proto
index 5b6aa47b93..77639461d9 100644
--- a/tensorflow/core/protobuf/config.proto
+++ b/tensorflow/core/protobuf/config.proto
@@ -389,6 +389,9 @@ message ConfigProto {
message Experimental {
// Task name for group resolution.
string collective_group_leader = 1;
+ // Whether the client will format templated errors. For example, the string:
+ // "The node was defined on ^^node:Foo:${file}:${line}^^".
+ bool client_handles_error_formatting = 2;
};
Experimental experimental = 16;