MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / from_config

Method from_config

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

Source from the content-addressed store, hash-verified

1538
1539 @classmethod
1540 def from_config(cls, *args, **kwargs):
1541 requires_backends(cls, ["torch"])
1542
1543 @classmethod
1544 def from_pretrained(cls, *args, **kwargs):

Callers

nothing calls this directly

Calls 1

requires_backendsFunction · 0.85

Tested by

no test coverage detected