# tf.keras.constraints.get

<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/constraints.py#L382-L398) |

Retrieves a Keras constraint function.

#### View aliases


**Compat aliases for migration**

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

\`tf.compat.v1.keras.constraints.get\`

<br />

    tf.keras.constraints.get(
        identifier
    )