aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/specs/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/contrib/specs/README.md')
-rw-r--r--tensorflow/contrib/specs/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/specs/README.md b/tensorflow/contrib/specs/README.md
index fcd008e81b..e2c6c5c8bc 100644
--- a/tensorflow/contrib/specs/README.md
+++ b/tensorflow/contrib/specs/README.md
@@ -166,7 +166,7 @@ use the `specs.ops` context manager, which will temporarily make the
outputs = net.funcall(inputs)
sess = tf.InteractiveSession()
- tf.initialize_all_variables().run()
+ tf.global_variables_initializer().run()
sess.run([outputs], feed_dict={inputs: npr.uniform(size=(17, 28, 28, 1))})
# Sharing and Variables