aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/models/image
diff options
context:
space:
mode:
authorGravatar Dan Mané <danmane@google.com>2016-12-01 16:05:46 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-12-01 16:25:05 -0800
commitb0617ccfc95261d5f079f8982c07cd56903e6c15 (patch)
treeb22c4148bf5312329fc14421be92d34ba4d88d2d /tensorflow/models/image
parentfbc8574ac64ae72f35f415baddfd25dff55163e1 (diff)
Replace using of tf.contrib.deprecated.merge_all_summaries with tf.summary.merge_all
The implementations are identical, tf.summary.merge_all is the canonical location. Change: 140790809
Diffstat (limited to 'tensorflow/models/image')
-rw-r--r--tensorflow/models/image/cifar10/cifar10_eval.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/models/image/cifar10/cifar10_eval.py b/tensorflow/models/image/cifar10/cifar10_eval.py
index c2329380d6..2f85051454 100644
--- a/tensorflow/models/image/cifar10/cifar10_eval.py
+++ b/tensorflow/models/image/cifar10/cifar10_eval.py
@@ -134,7 +134,7 @@ def evaluate():
saver = tf.train.Saver(variables_to_restore)
# Build the summary operation based on the TF collection of Summaries.
- summary_op = tf.contrib.deprecated.merge_all_summaries()
+ summary_op = tf.summary.merge_all()
summary_writer = tf.summary.FileWriter(FLAGS.eval_dir, g)