# tf.keras.applications.mobilenet_v3.preprocess_input

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/keras-team/keras/tree/v2.13.1/keras/applications/mobilenet_v3.py#L671-L690) |

A placeholder method for backward compatibility.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

\`tf.compat.v1.keras.applications.mobilenet_v3.preprocess_input\`

<br />

    tf.keras.applications.mobilenet_v3.preprocess_input(
        x, data_format=None
    )

The preprocessing logic has been included in the mobilenet_v3 model
implementation. Users are no longer required to call this method to
normalize the input data. This method does nothing and only kept as a
placeholder to align the API surface between old and new version of model.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `x` | A floating point `numpy.array` or a [`tf.Tensor`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/Tensor). |
| `data_format` | Optional data format of the image tensor/array. `None` means the global setting [`tf.keras.backend.image_data_format()`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/keras/backend/image_data_format) is used (unless you changed it, it uses "channels_last"). Defaults to `None`. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| Unchanged `numpy.array` or [`tf.Tensor`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/Tensor). ||

<br />