|TensorFlow 1 version|
tf.image module contains various functions for image
processing and decoding-encoding Ops.
Many of the encoding/decoding functions are also available in the
The resizing Ops accept input images as tensors of several types. They always output resized images as float32 tensors.
The convenience function
tf.image.resize supports both 4-D
and 3-D tensors as input and output. 4-D tensors are for batches of images,