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

Method __init__

models/flux2.py:401–404  ·  view source on GitHub ↗
(self, model)

Source from the content-addressed store, hash-verified

399
400class FinalLayer(nn.Module):
401 def __init__(self, model):
402 super().__init__()
403 self.final_layer = model.final_layer
404 self.model = [model]
405
406 def __getattr__(self, name):
407 return getattr(self.model[0], name)

Callers 5

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected