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

Method from_config

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

Source from the content-addressed store, hash-verified

235
236 @classmethod
237 def from_config(cls, *args, **kwargs):
238 requires_backends(cls, ["torch"])
239
240 @classmethod
241 def from_pretrained(cls, *args, **kwargs):

Callers

nothing calls this directly

Calls 1

requires_backendsFunction · 0.85

Tested by

no test coverage detected