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

Method forward

kokoro/custom_stft.py:191–197  ·  view source on GitHub ↗

Full STFT -> iSTFT pass: returns time-domain reconstruction. Same interface as your original code.

(self, x: torch.Tensor)

Source from the content-addressed store, hash-verified

189 return waveform
190
191 def forward(self, x: torch.Tensor):
192 """
193 Full STFT -> iSTFT pass: returns time-domain reconstruction.
194 Same interface as your original code.
195 """
196 mag, phase = self.transform(x)
197 return self.inverse(mag, phase, length=x.shape[-1])

Callers

nothing calls this directly

Calls 2

transformMethod · 0.95
inverseMethod · 0.95

Tested by

no test coverage detected