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
61cb8f26
".github/scripts/vscode:/vscode.git/clone" did not exist on "86cb1e09fe88b1316698dc64727b136f03e75623"
Unverified
Commit
61cb8f26
authored
Oct 09, 2020
by
moto
Committed by
GitHub
Oct 09, 2020
Browse files
[doc] Update librosa link (#940)
parent
e17c2634
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
torchaudio/transforms.py
torchaudio/transforms.py
+2
-1
No files found.
torchaudio/transforms.py
View file @
61cb8f26
...
...
@@ -198,7 +198,8 @@ class AmplitudeToDB(torch.nn.Module):
def
forward
(
self
,
x
:
Tensor
)
->
Tensor
:
r
"""Numerically stable implementation from Librosa.
https://librosa.github.io/librosa/_modules/librosa/core/spectrum.html
https://librosa.org/doc/latest/generated/librosa.amplitude_to_db.html
Args:
x (Tensor): Input tensor before being converted to decibel scale.
...
...
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