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

Method __init__

models/krea2.py:266–269  ·  view source on GitHub ↗
(self, model)

Source from the content-addressed store, hash-verified

264
265class FinalLayer(nn.Module):
266 def __init__(self, model):
267 super().__init__()
268 self.last = model.last
269 self.model = [model]
270
271 def __getattr__(self, name):
272 return getattr(self.model[0], name)

Callers 3

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected