aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/examples/how_tos
diff options
context:
space:
mode:
authorGravatar Martin Wicke <wicke@google.com>2016-07-25 13:48:16 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-07-25 15:02:34 -0700
commit21716d8f6e175cd6e8cd97a84e48497574268b0c (patch)
tree3345202e7a812cc9572beb24fc01732696a4140d /tensorflow/examples/how_tos
parented281973d66d0030e58a77a05821bbb88627f5bd (diff)
Merge changes from github.
Change: 128401884
Diffstat (limited to 'tensorflow/examples/how_tos')
-rw-r--r--tensorflow/examples/how_tos/reading_data/fully_connected_preloaded.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/examples/how_tos/reading_data/fully_connected_preloaded.py b/tensorflow/examples/how_tos/reading_data/fully_connected_preloaded.py
index 8c696e1c78..8a43158062 100644
--- a/tensorflow/examples/how_tos/reading_data/fully_connected_preloaded.py
+++ b/tensorflow/examples/how_tos/reading_data/fully_connected_preloaded.py
@@ -94,8 +94,8 @@ def run_training():
saver = tf.train.Saver()
# Create the op for initializing variables.
- init_op = tf.initialize_all_variables()
-
+ init_op = tf.group(tf.initialize_all_variables(),
+ tf.initialize_local_variables())
# Create a session for running Ops on the Graph.
sess = tf.Session()