tf.contrib.eager.enable_remote_eager_execution
Enables eager execution for the lifetime of this program.
tf.contrib.eager.enable_remote_eager_execution( config=None, device_policy=None, execution_mode=None, server_def=None )
Most of the doc string for enable_eager_execution is relevant here as well.
Args | |
---|---|
config | See enable_eager_execution doc string |
device_policy | See enable_eager_execution doc string |
execution_mode | See enable_eager_execution doc string |
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 |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/eager/enable_remote_eager_execution