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

Method __init__

models/chroma.py:493–496  ·  view source on GitHub ↗
(self, model)

Source from the content-addressed store, hash-verified

491
492class FinalLayer(nn.Module):
493 def __init__(self, model):
494 super().__init__()
495 self.final_layer = model.final_layer
496 self.model = [model]
497
498 def __getattr__(self, name):
499 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