# tfr.keras.utils.is_greater_equal_1

<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#L110-L121) |

Computes whether label is greater or equal to 1.

    tfr.keras.utils.is_greater_equal_1(
        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 ||
|---|---|
| A `Tensor` that has each input element transformed as `x` to `I(x > 1)`. ||

<br />