aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/dist_test
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2016-12-13 09:54:24 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-12-13 10:04:25 -0800
commitc0076def01dae3c1774b4db156c0723b728704e4 (patch)
tree48549a3d8271bce011eb6026cfedd8f898c6232b /tensorflow/tools/dist_test
parent04f073a8c116a0aff2b5e01f7b26160d238fcde6 (diff)
Rename SyncReplicasOptimizerV2 to SyncReplicasOptimizer
Change: 141904790
Diffstat (limited to 'tensorflow/tools/dist_test')
-rw-r--r--tensorflow/tools/dist_test/python/mnist_replica.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/tools/dist_test/python/mnist_replica.py b/tensorflow/tools/dist_test/python/mnist_replica.py
index fb51705fe0..7e68258b0a 100644
--- a/tensorflow/tools/dist_test/python/mnist_replica.py
+++ b/tensorflow/tools/dist_test/python/mnist_replica.py
@@ -177,7 +177,7 @@ def main(unused_argv):
else:
replicas_to_aggregate = FLAGS.replicas_to_aggregate
- opt = tf.train.SyncReplicasOptimizerV2(
+ opt = tf.train.SyncReplicasOptimizer(
opt,
replicas_to_aggregate=replicas_to_aggregate,
total_num_replicas=num_workers,