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

Method __init__

kokoro/modules.py:22–27  ·  view source on GitHub ↗
(self, channels, eps=1e-5)

Source from the content-addressed store, hash-verified

20
21class LayerNorm(nn.Module):
22 def __init__(self, channels, eps=1e-5):
23 super().__init__()
24 self.channels = channels
25 self.eps = eps
26 self.gamma = nn.Parameter(torch.ones(channels))
27 self.beta = nn.Parameter(torch.zeros(channels))
28
29 def forward(self, x):
30 x = x.transpose(1, -1)

Callers 5

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected