MCPcopy Create free account
hub / github.com/OpenImagingLab/FlashVSR / QuickGELU

Class QuickGELU

diffsynth/models/wan_video_image_encoder.py:222–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220
221
222class QuickGELU(nn.Module):
223
224 def forward(self, x):
225 return x * torch.sigmoid(1.702 * x)
226
227
228class LayerNorm(nn.LayerNorm):

Callers 2

__init__Method · 0.70
__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected