aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/eager/context.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/eager/context.py')
-rw-r--r--tensorflow/python/eager/context.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tensorflow/python/eager/context.py b/tensorflow/python/eager/context.py
index 85b9491903..495a674526 100644
--- a/tensorflow/python/eager/context.py
+++ b/tensorflow/python/eager/context.py
@@ -177,6 +177,11 @@ class Context(object):
- tf.contrib.eager.SYNC: executes each operation synchronously.
- tf.contrib.eager.ASYNC: executes each operation asynchronously. These
operations may return "non-ready" handles.
+ server_def: (Optional.) A tensorflow::ServerDef proto.
+ Enables execution on remote devices. GrpcServers need to be started by
+ creating an identical server_def to this, and setting the appropriate
+ task_indexes, so that the servers can communicate. It will then be
+ possible to execute operations on remote devices.
Raises:
ValueError: If execution_mode is not valid.