tf.contrib.cluster_resolver.SimpleClusterResolver

Class SimpleClusterResolver

Inherits From: ClusterResolver

Defined in tensorflow/contrib/cluster_resolver/python/training/cluster_resolver.py.

Simple implementation of ClusterResolver that accepts a ClusterSpec.

Methods

__init__

__init__(
    cluster_spec,
    master=''
)

Creates a SimpleClusterResolver from a ClusterSpec.

cluster_spec

cluster_spec()

Returns the ClusterSpec passed into the constructor.

master

master()

Returns the master address to use when creating a session.