Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Torchaudio
Commits
25504ad6
Unverified
Commit
25504ad6
authored
Aug 01, 2019
by
Edward Z. Yang
Committed by
GitHub
Aug 01, 2019
Browse files
Add missing from __future__ import division, delete Unicode (#201)
Signed-off-by:
Edward Z. Yang
<
ezyang@fb.com
>
parent
d8a47f4a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
test/test_jit.py
test/test_jit.py
+1
-0
torchaudio/functional.py
torchaudio/functional.py
+3
-2
No files found.
test/test_jit.py
View file @
25504ad6
from
__future__
import
division
import
torch
import
torchaudio.functional
as
F
import
torchaudio.transforms
as
transforms
...
...
torchaudio/functional.py
View file @
25504ad6
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.236
–
243, 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment