Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions test/test_jit.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import division
import torch
import torchaudio.functional as F
import torchaudio.transforms as transforms
Expand Down
5 changes: 3 additions & 2 deletions torchaudio/functional.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import division
import math
import torch

Expand Down Expand Up @@ -61,8 +62,8 @@ def istft(stft_matrix, # type: Tensor
could be useful. If ``length`` is ``None`` then padding will be aggressively removed
(some loss of signal).

[1] D. W. Griffin and J. S. Lim, Signal estimation from modified short-time Fourier transform,
IEEE Trans. ASSP, vol.32, no.2, pp.236243, Apr. 1984.
[1] D. W. Griffin and J. S. Lim, "Signal estimation from modified short-time Fourier transform,"
IEEE Trans. ASSP, vol.32, no.2, pp.236-243, Apr. 1984.

Args:
stft_matrix (torch.Tensor): Output of stft where each row of a channel is a frequency and each
Expand Down