-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[xdoctest][task 138 and 140] reformat example code with google style in audio/* #58189
[xdoctest][task 138 and 140] reformat example code with google style in audio/* #58189
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
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
x = paddle.ones((4, 3)) * 2 | ||
x.fill_diagonal_(1.0) | ||
print(x.tolist()) #[[1.0, 2.0, 2.0], [2.0, 1.0, 2.0], [2.0, 2.0, 1.0], [2.0, 2.0, 2.0]] | ||
>>> import paddle |
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.
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.
done
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
…in audio/* (PaddlePaddle#58189) * [Doctest]fix No.138 and 140, test=docs_preview * fix * fix
…in audio/* (PaddlePaddle#58189) * [Doctest]fix No.138 and 140, test=docs_preview * fix * fix
…in audio/* (PaddlePaddle#58189) * [Doctest]fix No.138 and 140, test=docs_preview * fix * fix
PR types
Others
PR changes
Others
Description
修改如下文件的示例代码,使其通过
xdoctest
检查:python/paddle/tensor/manipulation.py
python/paddle/tensor/search.py
python/paddle/tensor/ops.py
貌似已经修改过了吗预览:
Related links
@sunzhongkai588 @SigureMo @megemini