-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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 376~381] reformat example code with google style #58173
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
python/paddle/hapi/model_summary.py
Outdated
>>> params_info = paddle.summary(lenet_dict_input, input=input_data) | ||
>>> # doctest: +SKIP |
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.
误删啦
这个没关系,只要保证所有 skip 有 reason 即可,如果能删除 skip 且能通过的话,当然是最好的 |
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 🐾
…dlePaddle#58173) * xdoctest 365-370 * fix
…dlePaddle#58173) * xdoctest 365-370 * fix
…dlePaddle#58173) * xdoctest 365-370 * fix
PR types
Others
PR changes
Others
Description
好像是添加 skip reson的任务,但是我把有些skip给删除了😂
修改如下文件的示例代码,使其通过 xdoctest 检查:
python/paddle/distribution/bernoulli.py
python/paddle/distribution/categorical.py
python/paddle/distribution/gumbel.py
python/paddle/hapi/dynamic_flops.py
python/paddle/hapi/model.py
python/paddle/hapi/model_summary.py
link #55629
@sunzhongkai588 @SigureMo @megemini