Input data, in any form that can be converted to a Numpy array.
Image data format, can be either "channels_first" or
"channels_last". Defaults to None, in which case the global setting
tf.keras.backend.image_data_format() is used (unless you changed it,
it defaults to "channels_last").
Whether to rescale the image such that minimum and maximum values
are 0 and 255 respectively. Defaults to True.
Dtype to use. Default to None, in which case the global setting
tf.keras.backend.floatx() is used (unless you changed it, it defaults
A PIL Image instance.
if PIL is not available.
if invalid x or data_format is passed.
Except as otherwise noted, the content of this page is licensed und