tf.contrib.distribute.DistributeConfig

Class DistributeConfig

Defined in tensorflow/python/distribute/distribute_config.py.

A config tuple for distribution strategies.

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.

__new__

@staticmethod
__new__(
    cls,
    train_distribute=None,
    eval_distribute=None,
    remote_cluster=None
)

Properties

eval_distribute

Alias for field number 1

remote_cluster

Alias for field number 2

train_distribute

Alias for field number 0