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

Function get_padding

kokoro/istftnet.py:16–17  ·  view source on GitHub ↗
(kernel_size, dilation=1)

Source from the content-addressed store, hash-verified

14 m.weight.data.normal_(mean, std)
15
16def get_padding(kernel_size, dilation=1):
17 return int((kernel_size*dilation - dilation)/2)
18
19
20class AdaIN1d(nn.Module):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected