TensorFlow 2.0 Beta is available Learn more

tf.contrib.eager.enable_remote_eager_execution

View source on GitHub

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