From 8b9f28ddc4c3d5b71fdd99807e045b9b45d3d475 Mon Sep 17 00:00:00 2001
From: angusluo <angusluo@gmail.com>
Date: Fri, 13 Mar 2020 11:59:24 +0800
Subject: [PATCH] change tf.image.decode_image to tf.io.decode_image

tf.image.decode_image to tf.io.decode_image for API migration and consistency.
Please see https://www.tensorflow.org/api_docs/python/tf/io/decode_image
---
 tensorflow/core/kernels/decode_image_op.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tensorflow/core/kernels/decode_image_op.cc b/tensorflow/core/kernels/decode_image_op.cc
index ffa6ca5c59a..3f878ac6b95 100644
--- a/tensorflow/core/kernels/decode_image_op.cc
+++ b/tensorflow/core/kernels/decode_image_op.cc
@@ -317,8 +317,8 @@ class DecodeImageOp : public OpKernel {
                       } else {
                         status = errors::InvalidArgument(
                             "Got ", num_frames, " frames, but animated gifs ",
-                            "can only be decoded by tf.image.decode_gif or ",
-                            "tf.image.decode_image");
+                            "can only be decoded by tf.io.decode_gif or ",
+                            "tf.io.decode_image");
                       }
                       if (!status.ok()) {
                         VLOG(1) << status;