MCPcopy Create free account
hub / github.com/huggingface/diffusers / get_generator

Method get_generator

tests/hooks/test_hooks.py:163–164  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

161 }
162
163 def get_generator(self):
164 return torch.manual_seed(0)
165
166 def test_hook_registry(self):
167 registry = HookRegistry.check_if_exists_or_initialize(self.model)

Calls

no outgoing calls

Tested by

no test coverage detected