Commit 436efb8e authored by hwangjeff's avatar hwangjeff Committed by Facebook GitHub Bot
Browse files

Add back docstring for MelSpectrogram param onesided (#2799)

Summary:
Adds back docstring for `MelSpectrogram` initializer param `onesided`.

Pull Request resolved: https://github.com/pytorch/audio/pull/2799

Reviewed By: mthrok

Differential Revision: D40742691

Pulled By: hwangjeff

fbshipit-source-id: 7e8088fefaafe7df57bb626b8b4e9ce5317bf3a7
parent 546e699a
...@@ -566,6 +566,7 @@ class MelSpectrogram(torch.nn.Module): ...@@ -566,6 +566,7 @@ class MelSpectrogram(torch.nn.Module):
(Default: ``True``) (Default: ``True``)
pad_mode (string, optional): controls the padding method used when pad_mode (string, optional): controls the padding method used when
:attr:`center` is ``True``. (Default: ``"reflect"``) :attr:`center` is ``True``. (Default: ``"reflect"``)
onesided: Deprecated and unused.
norm (str or None, optional): If "slaney", divide the triangular mel weights by the width of the mel band norm (str or None, optional): If "slaney", divide the triangular mel weights by the width of the mel band
(area normalization). (Default: ``None``) (area normalization). (Default: ``None``)
mel_scale (str, optional): Scale to use: ``htk`` or ``slaney``. (Default: ``htk``) mel_scale (str, optional): Scale to use: ``htk`` or ``slaney``. (Default: ``htk``)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment