Unverified Commit 25504ad6 authored by Edward Z. Yang's avatar Edward Z. Yang Committed by GitHub
Browse files

Add missing from __future__ import division, delete Unicode (#201)


Signed-off-by: default avatarEdward Z. Yang <ezyang@fb.com>
parent d8a47f4a
from __future__ import division
import torch
import torchaudio.functional as F
import torchaudio.transforms as transforms
......
from __future__ import division
import math
import torch
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment