From f758b24a825e9787bd0bc89c5e2869116e5384fe Mon Sep 17 00:00:00 2001 From: Alexandre Passos Date: Fri, 20 Oct 2017 16:57:13 -0700 Subject: [PATCH] Variable name for the eager test (#13873) --- .../contrib/framework/python/ops/accumulate_n_v2_eager_test.py | 3 ++- 1 file changed, 2 insertions(+), 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 f3453f89fa7..5f086ea8cc3 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 @@ -64,7 +64,8 @@ class AccumulateNV2EagerTest(test_util.TensorFlowTestCase): np.random.seed(42) num_inputs = 3 input_vars = [ - resource_variable_ops.ResourceVariable(10.0 * np.random.random()) + resource_variable_ops.ResourceVariable(10.0 * np.random.random(), + name="t1") for i in range(0, num_inputs) ]