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

Method __init__

models/flux.py:535–538  ·  view source on GitHub ↗
(self, norm_out, proj_out)

Source from the content-addressed store, hash-verified

533
534class OutputWrapper(nn.Module):
535 def __init__(self, norm_out, proj_out):
536 super().__init__()
537 self.norm_out = norm_out
538 self.proj_out = proj_out
539
540 @torch.autocast('cuda', dtype=AUTOCAST_DTYPE)
541 def forward(self, inputs):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected