diff options
Diffstat (limited to 'tensorflow/python/training/server_lib.py')
-rw-r--r-- | tensorflow/python/training/server_lib.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tensorflow/python/training/server_lib.py b/tensorflow/python/training/server_lib.py index 2f421d1cc0..58cf5277fe 100644 --- a/tensorflow/python/training/server_lib.py +++ b/tensorflow/python/training/server_lib.py @@ -42,8 +42,8 @@ def _make_server_def(server_or_cluster_def, job_name, task_index, protocol, Defaults to the value in `server_or_cluster_def`, if specified. Otherwise defaults to 0 if the server's job has only one task. protocol: (Optional.) Specifies the protocol to be used by the server. - Acceptable values include `"grpc"`. Defaults to the value in - `server_or_cluster_def`, if specified. Otherwise defaults to `"grpc"`. + Acceptable values include `"grpc", "grpc+verbs"`. Defaults to the value + in `server_or_cluster_def`, if specified. Otherwise defaults to `"grpc"`. config: (Options.) A `tf.ConfigProto` that specifies default configuration options for all sessions that run on this server. @@ -129,8 +129,9 @@ class Server(object): job. Defaults to the value in `server_or_cluster_def`, if specified. Otherwise defaults to 0 if the server's job has only one task. protocol: (Optional.) Specifies the protocol to be used by the server. - Acceptable values include `"grpc"`. Defaults to the value in - `server_or_cluster_def`, if specified. Otherwise defaults to `"grpc"`. + Acceptable values include `"grpc", "grpc+verbs"`. Defaults to the + value in `server_or_cluster_def`, if specified. Otherwise defaults to + `"grpc"`. config: (Options.) A `tf.ConfigProto` that specifies default configuration options for all sessions that run on this server. start: (Optional.) Boolean, indicating whether to start the server |