View source on GitHub |
Return the default image data format convention.
tf.keras.backend.image_data_format()
Returns | |
---|---|
A string, either 'channels_first' or 'channels_last' .
|
Example:
keras.config.image_data_format()
'channels_last'