Skip to content

RosenbrockEnergy

Methods and Attributes

Bases: RosenbrockModel

Source code in torchebm/core/base_model.py
class RosenbrockEnergy(RosenbrockModel):
    def __init__(self, *args, **kwargs):
        warnings.warn(
            "`RosenbrockEnergy` is deprecated and will be removed in a future version. "
            "Please use `RosenbrockModel` instead.",
            DeprecationWarning,
            stacklevel=2
        )
        super().__init__(*args, **kwargs)