aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/examples/label_image
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-01-17 18:00:34 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-01-17 18:07:01 -0800
commita430a5e0c146ce927b2868bc94508c6df4cce950 (patch)
treed9cba5d2564981d0ebd2ac5187ff0269bfadd6df /tensorflow/examples/label_image
parent781ccc8e4b9f2dc4fd676e05933d57f5735d0b57 (diff)
Automated rollback of change 144776821
Change: 144780716
Diffstat (limited to 'tensorflow/examples/label_image')
-rw-r--r--tensorflow/examples/label_image/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/examples/label_image/main.cc b/tensorflow/examples/label_image/main.cc
index 08e6e4544a..544b1b2738 100644
--- a/tensorflow/examples/label_image/main.cc
+++ b/tensorflow/examples/label_image/main.cc
@@ -97,7 +97,7 @@ Status ReadTensorFromImageFile(string file_name, const int input_height,
file_name);
// Now try to figure out what kind of file it is and decode it.
const int wanted_channels = 3;
- tensorflow::Output image_reader;
+ Output image_reader;
if (tensorflow::StringPiece(file_name).ends_with(".png")) {
image_reader = DecodePng(root.WithOpName("png_reader"), file_reader,
DecodePng::Channels(wanted_channels));