# tf.contrib.eager.enable_remote_eager_execution

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/framework/ops.py#L5737-L5807) |

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.

<br />

<br />

<br />

| ## 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. |

<br />

<br />

<br />

<br />

| ## Raises ||
|---|---|
| ValueError ||

<br />