aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/ops/collective_ops_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/ops/collective_ops_test.py')
-rw-r--r--tensorflow/python/ops/collective_ops_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/python/ops/collective_ops_test.py b/tensorflow/python/ops/collective_ops_test.py
index 8e16cffdf4..9cc64ef9f6 100644
--- a/tensorflow/python/ops/collective_ops_test.py
+++ b/tensorflow/python/ops/collective_ops_test.py
@@ -37,11 +37,11 @@ class CollectiveOpTest(test.TestCase):
with ops.device('/CPU:0'):
in0 = constant_op.constant(t0)
colred0 = collective_ops.all_reduce(in0, 2, group_key, instance_key,
- 'Add', 'Div', [0])
+ 'Add', 'Div')
with ops.device('/CPU:1'):
in1 = constant_op.constant(t1)
colred1 = collective_ops.all_reduce(in1, 2, group_key, instance_key,
- 'Add', 'Div', [0])
+ 'Add', 'Div')
run_options = config_pb2.RunOptions()
run_options.experimental.collective_graph_key = 1
results = sess.run([colred0, colred1], options=run_options)