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

Method to_dict

src/diffusers/hooks/layer_skip.py:81–82  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

79 )
80
81 def to_dict(self):
82 return asdict(self)
83
84 @staticmethod
85 def from_dict(data: dict) -> "LayerSkipConfig":

Calls

no outgoing calls