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

Method dequantize

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

Source from the content-addressed store, hash-verified

186 return embed_ind.view(*shape[:-1])
187
188 def dequantize(self, embed_ind):
189 quantize = F.embedding(embed_ind, self.embed)
190 return quantize
191
192 def encode(self, x):
193 shape = x.shape

Callers 2

decodeMethod · 0.95
forwardMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected