MCPcopy Create free account
hub / github.com/MotrixLab/ViMoGen / __init__

Method __init__

models/transformer/wan/modules/t2m_model.py:251–252  ·  view source on GitHub ↗
(self, dim, eps=1e-6, elementwise_affine=False)

Source from the content-addressed store, hash-verified

249class WanLayerNorm(nn.LayerNorm):
250
251 def __init__(self, dim, eps=1e-6, elementwise_affine=False):
252 super().__init__(dim, elementwise_affine=elementwise_affine, eps=eps)
253
254 def forward(self, x):
255 return super().forward(x.float()).type_as(x)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected