mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
remove torch.no_grad from TorchSTFT
This commit is contained in:
@@ -34,7 +34,6 @@ class TorchSTFT(nn.Module): # pylint: disable=abstract-method
|
||||
if use_mel:
|
||||
self._build_mel_basis()
|
||||
|
||||
@torch.no_grad()
|
||||
def __call__(self, x):
|
||||
"""Compute spectrogram frames by torch based stft.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user