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

Method forward

kokoro/modules.py:29–32  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

27 self.beta = nn.Parameter(torch.zeros(channels))
28
29 def forward(self, x):
30 x = x.transpose(1, -1)
31 x = F.layer_norm(x, (self.channels,), self.gamma, self.beta, self.eps)
32 return x.transpose(1, -1)
33
34
35class TextEncoder(nn.Module):

Callers 1

forwardMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected