# tf.keras.constraints.deserialize

<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#L365-L379) |

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.keras.constraints.deserialize(
        config, custom_objects=None, use_legacy_format=False
    )