mirror of https://github.com/coqui-ai/TTS.git
remove torch.no_grad from TorchSTFT
This commit is contained in:
parent
5b70da2e3f
commit
d295d5de97
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue