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
This commit is contained in:
parent
8756b99ac3
commit
8b9f28ddc4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user