tf.contrib.distribute.DistributeConfig
A config tuple for distribution strategies.
tf.contrib.distribute.DistributeConfig( train_distribute=None, eval_distribute=None, remote_cluster=None )
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. |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/distribute/DistributeConfig