aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/protobuf
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-07-30 18:05:24 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-07-30 18:12:27 -0700
commit08db4a7b13c18a149ded2e5c023e4267364e47d6 (patch)
tree2ad0fa8fe2f6a6c1656dbd0331fe4d5489940652 /tensorflow/core/protobuf
parent5271a6f81412c2835916d5a677ecc7e13ffaaf79 (diff)
Use configured executor type in direct_session. Adds executor_type to config protobuf API to specify executor to use.
PiperOrigin-RevId: 206681376
Diffstat (limited to 'tensorflow/core/protobuf')
-rw-r--r--tensorflow/core/protobuf/config.proto4
1 files changed, 4 insertions, 0 deletions
diff --git a/tensorflow/core/protobuf/config.proto b/tensorflow/core/protobuf/config.proto
index d701ce8e12..da3a99565e 100644
--- a/tensorflow/core/protobuf/config.proto
+++ b/tensorflow/core/protobuf/config.proto
@@ -393,6 +393,10 @@ message ConfigProto {
// 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;
+
+ // Which executor to use, the default executor will be used
+ // if it is an empty string or "DEFAULT"
+ string executor_type = 3;
};
Experimental experimental = 16;