MCPcopy
hub / github.com/huggingface/diffusers / SampleObject

Class SampleObject

tests/others/test_config.py:35–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34
35class SampleObject(ConfigMixin):
36 config_name = "config.json"
37
38 @register_to_config
39 def __init__(
40 self,
41 a=2,
42 b=5,
43 c=(2, 5),
44 d="for diffusion",
45 e=[1, 3],
46 ):
47 pass
48
49
50class SampleObject2(ConfigMixin):

Callers 3

test_save_loadMethod · 0.85

Calls

no outgoing calls

Tested by 3

test_save_loadMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…