MCPcopy Index your code
hub / github.com/huggingface/diffusers / UNet2DConditionModel

Class UNet2DConditionModel

src/diffusers/utils/dummy_pt_objects.py:1953–1965  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1951
1952
1953class UNet2DConditionModel(metaclass=DummyObject):
1954 _backends = ["torch"]
1955
1956 def __init__(self, *args, **kwargs):
1957 requires_backends(self, ["torch"])
1958
1959 @classmethod
1960 def from_config(cls, *args, **kwargs):
1961 requires_backends(cls, ["torch"])
1962
1963 @classmethod
1964 def from_pretrained(cls, *args, **kwargs):
1965 requires_backends(cls, ["torch"])
1966
1967
1968class UNet2DModel(metaclass=DummyObject):

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…