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
9535d83e
"tests/git@developer.sourcefind.cn:OpenDAS/fairscale.git" did not exist on "2e9a14e7ef9179653e7a091a995905aeb778f67f"
Unverified
Commit
9535d83e
authored
Aug 12, 2021
by
Chin-Yun Yu
Committed by
GitHub
Aug 12, 2021
Browse files
Refactor lfilter docs (#1698)
parent
4c57e1ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
torchaudio/functional/filtering.py
torchaudio/functional/filtering.py
+2
-2
No files found.
torchaudio/functional/filtering.py
View file @
9535d83e
...
@@ -949,8 +949,8 @@ def lfilter(
...
@@ -949,8 +949,8 @@ def lfilter(
Lower delays coefficients are first, e.g. ``[b0, b1, b2, ...]``.
Lower delays coefficients are first, e.g. ``[b0, b1, b2, ...]``.
Must be same size as a_coeffs (pad with 0's as necessary).
Must be same size as a_coeffs (pad with 0's as necessary).
clamp (bool, optional): If ``True``, clamp the output signal to be in the range [-1, 1] (Default: ``True``)
clamp (bool, optional): If ``True``, clamp the output signal to be in the range [-1, 1] (Default: ``True``)
batching (bool, optional):
Activate
when coefficients are
in
2D. If ``True``, then waveform should be at
least
batching (bool, optional):
Effective only
when coefficients are 2D. If ``True``, then waveform should be at
2D, and the size of second axis from last should equals to ``num_filters``.
least
2D, and the size of second axis from last should equals to ``num_filters``.
The output can be expressed as ``output[..., i, :] = lfilter(waveform[..., i, :],
The output can be expressed as ``output[..., i, :] = lfilter(waveform[..., i, :],
a_coeffs[i], b_coeffs[i], clamp=clamp, batching=False)``. (Default: ``True``)
a_coeffs[i], b_coeffs[i], clamp=clamp, batching=False)``. (Default: ``True``)
...
...
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