Class DistributeConfig
Defined in tensorflow/python/distribute/distribute_config.py.
A config tuple for distribution strategies.
Attributes:
train_distribute: aDistributionStrategyobject for training.eval_distribute: an optionalDistributionStrategyobject for evaluation.remote_cluster: a dict,ClusterDeforClusterSpecobject specifying the cluster configurations. If this is given, thetrain_and_evaluatemethod 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)