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