Returns the default image data format convention.
Compat aliases for migration
See Migration guide for more details.
tf.compat.v1.keras.backend.image_data_format, tf.compat.v2.keras.backend.image_data_format
tf.compat.v1.keras.backend.image_data_format
tf.compat.v2.keras.backend.image_data_format
tf.keras.backend.image_data_format()
A string, either 'channels_first' or 'channels_last'
'channels_first'
'channels_last'
keras.backend.image_data_format() >>> 'channels_first'