diff --git a/keras/applications/convnext.py b/keras/applications/convnext.py index 7e5e209bf20..a4d059374dc 100644 --- a/keras/applications/convnext.py +++ b/keras/applications/convnext.py @@ -756,7 +756,7 @@ def preprocess_input(x, data_format=None): x: A floating point `numpy.array` or a `tf.Tensor`. data_format: Optional data format of the image tensor/array. `None` means the global setting `tf.keras.backend.image_data_format()` is used - (unless you changed it, it uses "channels_last").{mode}. + (unless you changed it, it uses "channels_last"). Defaults to `None`. Returns: diff --git a/keras/applications/efficientnet.py b/keras/applications/efficientnet.py index cbadfad14d3..a7d9639eb5f 100644 --- a/keras/applications/efficientnet.py +++ b/keras/applications/efficientnet.py @@ -854,7 +854,7 @@ def preprocess_input(x, data_format=None): x: A floating point `numpy.array` or a `tf.Tensor`. data_format: Optional data format of the image tensor/array. `None` means the global setting `tf.keras.backend.image_data_format()` is used - (unless you changed it, it uses "channels_last").{mode}. + (unless you changed it, it uses "channels_last"). Defaults to `None`. Returns: diff --git a/keras/applications/efficientnet_v2.py b/keras/applications/efficientnet_v2.py index 715c8f5281a..2d309e75756 100644 --- a/keras/applications/efficientnet_v2.py +++ b/keras/applications/efficientnet_v2.py @@ -1345,7 +1345,7 @@ def preprocess_input(x, data_format=None): x: A floating point `numpy.array` or a `tf.Tensor`. data_format: Optional data format of the image tensor/array. `None` means the global setting `tf.keras.backend.image_data_format()` is used - (unless you changed it, it uses "channels_last").{mode}. + (unless you changed it, it uses "channels_last"). Defaults to `None`. Returns: diff --git a/keras/applications/regnet.py b/keras/applications/regnet.py index f40c548a196..0c8ee7de067 100644 --- a/keras/applications/regnet.py +++ b/keras/applications/regnet.py @@ -1821,7 +1821,7 @@ def preprocess_input(x, data_format=None): x: A floating point `numpy.array` or a `tf.Tensor`. data_format: Optional data format of the image tensor/array. `None` means the global setting `tf.keras.backend.image_data_format()` is used - (unless you changed it, it uses "channels_last").{mode}. + (unless you changed it, it uses "channels_last"). Defaults to `None`. Returns: diff --git a/keras/applications/resnet_rs.py b/keras/applications/resnet_rs.py index 8a72652c237..eafa79ec0c6 100644 --- a/keras/applications/resnet_rs.py +++ b/keras/applications/resnet_rs.py @@ -961,7 +961,7 @@ def preprocess_input(x, data_format=None): x: A floating point `numpy.array` or a `tf.Tensor`. data_format: Optional data format of the image tensor/array. `None` means the global setting `tf.keras.backend.image_data_format()` is used - (unless you changed it, it uses "channels_last").{mode}. + (unless you changed it, it uses "channels_last"). Defaults to `None`. Returns: