MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / __init__

Method __init__

diffusers/examples/community/pipeline_zero1to3.py:59–63  ·  view source on GitHub ↗
(self, in_channel=772, out_channel=768)

Source from the content-addressed store, hash-verified

57
58class CCProjection(ModelMixin, ConfigMixin):
59 def __init__(self, in_channel=772, out_channel=768):
60 super().__init__()
61 self.in_channel = in_channel
62 self.out_channel = out_channel
63 self.projection = torch.nn.Linear(in_channel, out_channel)
64
65 def forward(self, x):
66 return self.projection(x)

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected