mirror of
https://github.com/wassname/TTS.git
synced 2026-10-27 12:30:27 +08:00
prevenet grad in TorchSTFT
This commit is contained in:
1 parent
cf44624df8
commit
02bc776c35
1 file changed
+1
-1
@@ -33,7 +33,7 @@ class TorchSTFT(nn.Module): # pylint: disable=abstract-method
|
||||
self.mel_basis = None
|
||||
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