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
a6f9cf8b
Unverified
Commit
a6f9cf8b
authored
Oct 13, 2021
by
nateanl
Committed by
GitHub
Oct 13, 2021
Browse files
Fix PitchShift docstring (#1866)
parent
e8ed8f46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchaudio/transforms.py
torchaudio/transforms.py
+1
-1
No files found.
torchaudio/transforms.py
View file @
a6f9cf8b
...
...
@@ -1389,7 +1389,7 @@ class PitchShift(torch.nn.Module):
Args:
waveform (Tensor): The input waveform of shape `(..., time)`.
sample_rate (
floa
t): Sample rate of `waveform`.
sample_rate (
in
t): Sample rate of `waveform`.
n_steps (int): The (fractional) steps to shift `waveform`.
bins_per_octave (int, optional): The number of steps per octave (Default : ``12``).
n_fft (int, optional): Size of FFT, creates ``n_fft // 2 + 1`` bins (Default: ``512``).
...
...
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