MCPcopy Create free account
hub / github.com/tdrussell/diffusion-pipe / __init__

Method __init__

models/ideogram4.py:244–247  ·  view source on GitHub ↗
(self, model)

Source from the content-addressed store, hash-verified

242
243class FinalLayer(nn.Module):
244 def __init__(self, model):
245 super().__init__()
246 self.final_layer = model.final_layer
247 self.model = [model]
248
249 def __getattr__(self, name):
250 return getattr(self.model[0], name)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected