MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / from_pretrained

Method from_pretrained

src/diffusers/utils/dummy_pt_objects.py:346–347  ·  view source on GitHub ↗
(cls, *args, **kwargs)

Source from the content-addressed store, hash-verified

344
345 @classmethod
346 def from_pretrained(cls, *args, **kwargs):
347 requires_backends(cls, ["torch"])
348
349
350def get_constant_schedule(*args, **kwargs):

Callers

nothing calls this directly

Calls 1

requires_backendsFunction · 0.85

Tested by

no test coverage detected