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

Method __init__

models/hidream.py:478–481  ·  view source on GitHub ↗
(self, model)

Source from the content-addressed store, hash-verified

476
477class OutputLayer(nn.Module):
478 def __init__(self, model):
479 super().__init__()
480 self.final_layer = model.final_layer
481 self.model = [model]
482
483 def __getattr__(self, name):
484 return getattr(self.model[0], name)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected