aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/kernel_tests/variables_test.py
diff options
context:
space:
mode:
authorGravatar Illia Polosukhin <ipolosukhin@google.com>2016-11-04 10:14:46 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-11-04 11:21:47 -0700
commite65532ce3c9f3a2c68b7f64c0df4d86dc7f51fb9 (patch)
tree550fdec2c7f04f8b9e2c904a94ca5a7936ec6d77 /tensorflow/python/kernel_tests/variables_test.py
parent70f826c5d5508762623cec1bd6a588047744dfb7 (diff)
Replace usages all_variables -> global_variables, GraphKeys.VARIABLES -> GraphKeys.GLOBAL_VARIABLES
Change: 138212111
Diffstat (limited to 'tensorflow/python/kernel_tests/variables_test.py')
-rw-r--r--tensorflow/python/kernel_tests/variables_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/kernel_tests/variables_test.py b/tensorflow/python/kernel_tests/variables_test.py
index c715e5630d..cb39548eb7 100644
--- a/tensorflow/python/kernel_tests/variables_test.py
+++ b/tensorflow/python/kernel_tests/variables_test.py
@@ -229,7 +229,7 @@ class VariablesTestCase(tf.test.TestCase):
var_t = tf.Variable(
2.0, trainable=True,
collections=[tf.GraphKeys.TRAINABLE_VARIABLES,
- tf.GraphKeys.VARIABLES])
+ tf.GraphKeys.GLOBAL_VARIABLES])
self.assertEqual([var_x, var_y, var_z, var_t], tf.global_variables())
self.assertEqual([var_x, var_z, var_t], tf.trainable_variables())