diff --git a/keras/applications/mobilenet_v3.py b/keras/applications/mobilenet_v3.py index ac61c9970e16..b79c4a663678 100644 --- a/keras/applications/mobilenet_v3.py +++ b/keras/applications/mobilenet_v3.py @@ -679,10 +679,10 @@ def preprocess_input(x, data_format=None): Args: x: A floating point `numpy.array` or a `tf.Tensor`. - data_format: Optional data format of the image tensor/array. 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").{mode} + 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"). + Defaults to `None`. Returns: Unchanged `numpy.array` or `tf.Tensor`.