From d1183ca6a245cd0b498c46fd1079909ebc4abc3a Mon Sep 17 00:00:00 2001 From: Vijay Vasudevan Date: Sat, 21 Oct 2017 13:43:01 -0700 Subject: [PATCH] Give each variable a unique name in accumulate_n_v2_eager_test. (#13886) --- .../contrib/framework/python/ops/accumulate_n_v2_eager_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/contrib/framework/python/ops/accumulate_n_v2_eager_test.py b/tensorflow/contrib/framework/python/ops/accumulate_n_v2_eager_test.py index 5f086ea8cc3..c2229bb8ad3 100644 --- a/tensorflow/contrib/framework/python/ops/accumulate_n_v2_eager_test.py +++ b/tensorflow/contrib/framework/python/ops/accumulate_n_v2_eager_test.py @@ -65,7 +65,7 @@ class AccumulateNV2EagerTest(test_util.TensorFlowTestCase): num_inputs = 3 input_vars = [ resource_variable_ops.ResourceVariable(10.0 * np.random.random(), - name="t1") + name="t%d" % i) for i in range(0, num_inputs) ]