MCPcopy Create free account
hub / github.com/Francis-Rings/FlashPortrait / forward

Method forward

wan/models/wan_image_encoder.py:45–46  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

43class QuickGELU(nn.Module):
44
45 def forward(self, x):
46 return x * torch.sigmoid(1.702 * x)
47
48
49class LayerNorm(nn.LayerNorm):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected