Missed TensorFlow World? Check out the recap. Learn more

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
)

Create new instance of DistributeConfig(train_distribute, eval_distribute, remote_cluster)

Properties

train_distribute

eval_distribute

remote_cluster