Spaces:
Runtime error
Runtime error
# This file is autogenerated by the command `make fix-copies`, do not edit. | |
# flake8: noqa | |
from ..utils import DummyObject, requires_backends | |
class LMSDiscreteScheduler(metaclass=DummyObject): | |
_backends = ["torch", "scipy"] | |
def __init__(self, *args, **kwargs): | |
requires_backends(self, ["torch", "scipy"]) | |
def from_config(cls, *args, **kwargs): | |
requires_backends(cls, ["torch", "scipy"]) | |
def from_pretrained(cls, *args, **kwargs): | |
requires_backends(cls, ["torch", "scipy"]) | |