diff options
Diffstat (limited to 'tensorflow/examples/label_image')
-rw-r--r-- | tensorflow/examples/label_image/main.cc | 2 |
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)); |