diff options
Diffstat (limited to 'tensorflow/g3doc/api_docs/python/train.md')
-rw-r--r-- | tensorflow/g3doc/api_docs/python/train.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/g3doc/api_docs/python/train.md b/tensorflow/g3doc/api_docs/python/train.md index 680db85bc1..429bbf4d15 100644 --- a/tensorflow/g3doc/api_docs/python/train.md +++ b/tensorflow/g3doc/api_docs/python/train.md @@ -3472,7 +3472,7 @@ For example, cluster_spec = { "ps": ["ps0:2222", "ps1:2222"], "worker": ["worker0:2222", "worker1:2222", "worker2:2222"]} -with tf.device(tf.replica_device_setter(cluster=cluster_spec)): +with tf.device(tf.train.replica_device_setter(cluster=cluster_spec)): # Build your graph v1 = tf.Variable(...) # assigned to /job:ps/task:0 v2 = tf.Variable(...) # assigned to /job:ps/task:1 |