MCPcopy Create free account
hub / github.com/MYZY-AI/Muyan-TTS / decode

Method decode

sovits/module/core_vq.py:298–302  ·  view source on GitHub ↗
(self, embed_ind)

Source from the content-addressed store, hash-verified

296 return embed_in
297
298 def decode(self, embed_ind):
299 quantize = self._codebook.decode(embed_ind)
300 quantize = self.project_out(quantize)
301 quantize = rearrange(quantize, "b n d -> b d n")
302 return quantize
303
304 def forward(self, x):
305 device = x.device

Callers

nothing calls this directly

Calls 1

decodeMethod · 0.45

Tested by

no test coverage detected