aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/session_bundle/session_bundle_test.py
diff options
context:
space:
mode:
authorGravatar Illia Polosukhin <ipolosukhin@google.com>2016-11-03 14:46:06 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-11-03 16:09:01 -0700
commitcbd3cacfb73bbea912b9d01c2540187684f751a7 (patch)
treec2c22af2d05583491b1370dcabdb2e83cb61e2ee /tensorflow/contrib/session_bundle/session_bundle_test.py
parent703fce57eaae725c4ae4b0bd23629c4f04a9de16 (diff)
Replace usages initialize_all_variables -> global_variables_initializer
Change: 138128703
Diffstat (limited to 'tensorflow/contrib/session_bundle/session_bundle_test.py')
-rw-r--r--tensorflow/contrib/session_bundle/session_bundle_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/session_bundle/session_bundle_test.py b/tensorflow/contrib/session_bundle/session_bundle_test.py
index d8a7e61367..da049cb98a 100644
--- a/tensorflow/contrib/session_bundle/session_bundle_test.py
+++ b/tensorflow/contrib/session_bundle/session_bundle_test.py
@@ -117,7 +117,7 @@ class SessionBundleLoadNoVarsTest(tf.test.TestCase):
tf.add_to_collection("meta", "this is meta")
with self.test_session(graph=g) as session:
- tf.initialize_all_variables().run()
+ tf.global_variables_initializer().run()
new_graph_def = graph_util.convert_variables_to_constants(
session, g.as_graph_def(), ["y"])