We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b17da7a commit bc1df48Copy full SHA for bc1df48
torchaudio/functional.py
@@ -265,7 +265,7 @@ def griffinlim(
265
angles = rebuilt
266
if momentum:
267
angles = angles - tprev.mul_(momentum / (1 + momentum))
268
- angles = angles.div_(complex_norm(angles).add_(1e-16).unsqueeze(-1).expand_as(angles))
+ angles = angles.div(complex_norm(angles).add(1e-16).unsqueeze(-1).expand_as(angles))
269
270
# Return the final phase estimates
271
waveform = istft(specgram * angles,
0 commit comments