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

Method __init__

diffusers/tests/pipelines/test_pipelines.py:144–146  ·  view source on GitHub ↗
(self, encoder: CustomEncoder, scheduler: DDIMScheduler)

Source from the content-addressed store, hash-verified

142
143class CustomPipeline(DiffusionPipeline):
144 def __init__(self, encoder: CustomEncoder, scheduler: DDIMScheduler):
145 super().__init__()
146 self.register_modules(encoder=encoder, scheduler=scheduler)
147
148
149class DownloadTests(unittest.TestCase):

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
register_modulesMethod · 0.45

Tested by

no test coverage detected