MCPcopy Create free account
hub / github.com/UVA-Computer-Vision-Lab/FrameINO / forward

Method forward

architecture/autoencoder_kl_wan.py:201–202  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

199 self.bias = nn.Parameter(torch.zeros(shape)) if bias else 0.0
200
201 def forward(self, x):
202 return F.normalize(x, dim=(1 if self.channel_first else -1)) * self.scale * self.gamma + self.bias
203
204
205class WanUpsample(nn.Upsample):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected