aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/examples/label_image
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-01-18 11:17:34 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-01-18 11:27:49 -0800
commit4d69bcf7f2c734aa8c3326c3c469729c0805cfd5 (patch)
tree9456fc448e1324c19b7d1c78b3bd86d5769450e1 /tensorflow/examples/label_image
parent6fe89f4edcf1f7f6af83ec2d410dd54129664418 (diff)
Migrate to new namespace for Input, Output, etc. in the C++ API.
Change: 144857401
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 544b1b2738..08e6e4544a 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;
- Output image_reader;
+ tensorflow::Output image_reader;
if (tensorflow::StringPiece(file_name).ends_with(".png")) {
image_reader = DecodePng(root.WithOpName("png_reader"), file_reader,
DecodePng::Channels(wanted_channels));