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

Class LayerNorm

wan/modules/clip.py:47–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46
47class LayerNorm(nn.LayerNorm):
48
49 def forward(self, x):
50 return super().forward(x.float()).type_as(x)
51
52
53class SelfAttention(nn.Module):

Callers 3

__init__Method · 0.70
__init__Method · 0.70
__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected