def METHOD_NAME(cls, config):
    """Instantiates a weight constraint from a configuration dictionary.
    Example:
    ```python
    constraint = UnitNorm()
    config = constraint.get_config()
    constraint = UnitNorm.from_config(config)
    ```
    Args:
        config: A Python dictionary, the output of `get_config()`.
    Returns:
        A `keras_core.constraints.Constraint` instance.
    """
    return cls(**config)