# tfr.keras.utils.identity

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/ranking/blob/v0.5.3/tensorflow_ranking/python/keras/utils.py#L50-L61) |

Identity function that returns the input label.

    tfr.keras.utils.identity(
        label: https://www.tensorflow.org/ranking/api_docs/python/tfr/keras/model/TensorLike
    ) -> tf.Tensor

<br />

<br />

<br />

| ## Args ||
|---|---|
| `label` | A `Tensor` or anything that can be converted to a tensor using [`tf.convert_to_tensor`](https://www.tensorflow.org/api_docs/python/tf/convert_to_tensor). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| The input label. ||

<br />