# tf.keras.applications.resnet_rs.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/resnet_rs.py#L949-L969) |

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.resnet_rs.preprocess_input\`

<br />

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

The preprocessing logic has been included in the ResnetRS 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. Defaults to None, in which case 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 defaults to "channels_last").{mode} |

<br />

<br />

<br />

<br />

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

<br />