-
Notifications
You must be signed in to change notification settings - Fork 873
[audio] fix optional in audio doc #5609
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-5609.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
|
❌ The PR's message can't be empty. |
| - **htk** (bool) -是否使用 htk 缩放。 | ||
| - **norm** (Union[str,float]) -norm 的类型,默认是'slaney'。 | ||
| - **dtype** (str) - 返回矩阵的数据类型,默认'float32'。 | ||
| - **n_mels** (float,可选) - mels bins 的数目。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可选参数是不是需要注明默认值?
| - **n_mels** (int) - mel 的 fliterbank 数。 | ||
| - **norm** (float) - 正则化类型, 默认值是'ortho'。 | ||
| - **dtype** (str) - 默认'float32'。 | ||
| - **norm** (float,可选) - 正则化类型, 默认值是'ortho'。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - **norm** (float,可选) - 正则化类型, 默认值是'ortho'。 | |
| - **norm** (float,可选) - 正则化类型,默认值是'ortho'。 |
| - **win_length** (int) - 采样点数。 | ||
| - **fftbins** (bool) - 如果是 True,给出一个周期性的窗, 如果是 False 给出一个对称性的窗,默认是 True。 | ||
| - **dtype** (str) - 默认'float64'。 | ||
| - **fftbins** (bool,可选) - 如果是 True,给出一个周期性的窗, 如果是 False 给出一个对称性的窗,默认是 True。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - **fftbins** (bool,可选) - 如果是 True,给出一个周期性的窗, 如果是 False 给出一个对称性的窗,默认是 True。 | |
| - **fftbins** (bool,可选) - 如果是 True,给出一个周期性的窗,如果是 False 给出一个对称性的窗,默认是 True。 |
Ligoml
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for docs
--------- Co-authored-by: Ligoml <[email protected]>
* add audio doc (#5299) * add audio doc * fix typo * fix code link && punctuation * fix typo * fix features overivew link * add example * fix mfcc doc * add get_window * update code example * rm example * format * rm code example in cn * update audio datasets && backend (#5363) * update audio datasets && backend * add overview * format * fix function info * rm seed in TESS * rename some api * fix load * fix return * fix codestyle * [audio] add general_gaussian, rm kaiser in get_window doc (#5378) * add general_gaussian in get_window doc * rm kaiser window * audio backends fix (#5445) * [audio] fix optional in audio doc (#5609) --------- Co-authored-by: Ligoml <[email protected]> --------- Co-authored-by: Ligoml <[email protected]>
fix optional in audio doc