<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/keras-team/keras/tree/v2.15.0/keras/src/applications/convnext.py#L747-L766) |

A placeholder method for backward compatibility.

```python
tf.keras.applications.convnext.preprocess_input(
    x, data_format=None
)
```

The preprocessing logic has been included in the convnext 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`](https://www.tensorflow.org/api_docs/python/tf/keras/ops/array.md.txt) or a [`tf.Tensor`](https://www.tensorflow.org/versions/r2.15/api_docs/python/tf/Tensor.md.txt). |
| `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.15/api_docs/python/tf/keras/backend/image_data_format.md.txt) is used (unless you changed it, it uses "channels_last"). Defaults to `None`. |

<br />

<br />

<br />

<br />

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

<br />