SimpleClusterResolver
Inherits From: ClusterResolver
Defined in tensorflow/contrib/cluster_resolver/python/training/cluster_resolver.py.
Simple implementation of ClusterResolver that accepts a ClusterSpec.
__init____init__(
cluster_spec,
master=''
)
Creates a SimpleClusterResolver from a ClusterSpec.
cluster_speccluster_spec()
Returns the ClusterSpec passed into the constructor.
mastermaster()
Returns the master address to use when creating a session.
© 2018 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/api_docs/python/tf/contrib/cluster_resolver/SimpleClusterResolver