# tf.contrib.distribute.DistributeConfig

<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/distribute/distribute_config.py#L24-L45) |

A config tuple for distribution strategies.

    tf.contrib.distribute.DistributeConfig(
        train_distribute=None, eval_distribute=None, remote_cluster=None
    )

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `train_distribute` | a `DistributionStrategy` object for training. |
| `eval_distribute` | an optional `DistributionStrategy` object for evaluation. |
| `remote_cluster` | a dict, `ClusterDef` or `ClusterSpec` object specifying the cluster configurations. If this is given, the `train_and_evaluate` method will be running as a standalone client which connects to the cluster for training. |

<br />