-
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 272-273,282-283] reformat example code with google style inutils/*
, tensor/*
#56438
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.
LGTMeow 🐾
python/paddle/tensor/stat.py
Outdated
[5., 6., 7., 8.], | ||
[9., 10., 11., 12.]], | ||
[[13., 14., 15., 16.], | ||
[17., 18., 19., 20.], | ||
[21., 22., 23., 24.]]]) |
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.
LGTMeow 🐾
…yle in`utils/*`, `tensor/*` (PaddlePaddle#56438) * [Doctest]fix No.272-273,282-283, test=docs_preview * fix number * fix numpy * fix xd style
PR types
Others
PR changes
Others
Description
修改如下文件的示例代码,使其通过
xdoctest
检查:python/paddle/utils/download.py
python/paddle/utils/install_check.py
python/paddle/tensor/stat.py
python/paddle/tensor/to_string.py
预览:
Related links
@sunzhongkai588 @SigureMo @megemini