Give each variable a unique name in accumulate_n_v2_eager_test. (#13886)

This commit is contained in:
Vijay Vasudevan 2017-10-21 13:43:01 -07:00 committed by GitHub
parent 9d55c249c1
commit d1183ca6a2

View File

@ -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)
]