MCPcopy Create free account
hub / github.com/MeiGen-AI/MultiTalk / QuickGELU

Class QuickGELU

wan/modules/clip.py:41–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

__init__Method · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected