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
ffcda23f
"vscode:/vscode.git/clone" did not exist on "86714b72d07fe802129a8d892f135c4b564231fe"
Unverified
Commit
ffcda23f
authored
Nov 06, 2019
by
Vincent QB
Committed by
GitHub
Nov 06, 2019
Browse files
follow convention for dimension. (#333)
parent
6db2ad1c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchaudio/augmentations.py
torchaudio/augmentations.py
+1
-1
No files found.
torchaudio/augmentations.py
View file @
ffcda23f
...
...
@@ -41,7 +41,7 @@ class TimeStretch(torch.jit.ScriptModule):
If no rate is passed, use ``self.fixed_rate``
Returns:
(Tensor): Stretched complex spectrogram of dimension (*, channel,
n_
freq, ceil(time/rate), complex=2)
(Tensor): Stretched complex spectrogram of dimension (*, channel, freq, ceil(time/rate), complex=2)
"""
assert
complex_specgrams
.
size
(
-
1
)
==
2
,
"complex_specgrams should be a complex tensor, shape (*, complex=2)"
...
...
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