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

Method forward

wan/modules/t5.py:53–55  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

51class GELU(nn.Module):
52
53 def forward(self, x):
54 return 0.5 * x * (1.0 + torch.tanh(
55 math.sqrt(2.0 / math.pi) * (x + 0.044715 * torch.pow(x, 3.0))))
56
57
58class T5LayerNorm(nn.Module):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected