MCPcopy
hub / github.com/OpenBMB/VoxCPM / __init__

Method __init__

src/voxcpm/modules/audiovae/audio_vae_v2.py:163–165  ·  view source on GitHub ↗
(self, dim)

Source from the content-addressed store, hash-verified

161
162class NoiseBlock(nn.Module):
163 def __init__(self, dim):
164 super().__init__()
165 self.linear = WNCausalConv1d(dim, dim, kernel_size=1, bias=False)
166
167 def forward(self, x):
168 B, C, T = x.shape

Callers

nothing calls this directly

Calls 2

WNCausalConv1dFunction · 0.70
__init__Method · 0.45

Tested by

no test coverage detected