aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/examples/label_image/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/examples/label_image/main.cc')
-rw-r--r--tensorflow/examples/label_image/main.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/examples/label_image/main.cc b/tensorflow/examples/label_image/main.cc
index 3a927ca14b..544b1b2738 100644
--- a/tensorflow/examples/label_image/main.cc
+++ b/tensorflow/examples/label_image/main.cc
@@ -93,7 +93,8 @@ Status ReadTensorFromImageFile(string file_name, const int input_height,
string input_name = "file_reader";
string output_name = "normalized";
- auto file_reader = ReadFile(root.WithOpName(input_name), file_name);
+ auto file_reader = tensorflow::ops::ReadFile(root.WithOpName(input_name),
+ file_name);
// Now try to figure out what kind of file it is and decode it.
const int wanted_channels = 3;
Output image_reader;