-
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] reformat example code with google style No.186-190 #56166
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SigureMo
reviewed
Aug 14, 2023
SigureMo
reviewed
Aug 14, 2023
megemini
reviewed
Aug 15, 2023
python/paddle/distributed/auto_parallel/static/process_mesh_v2.py
Outdated
Show resolved
Hide resolved
SigureMo
reviewed
Aug 15, 2023
megemini
reviewed
Aug 16, 2023
megemini
reviewed
Aug 16, 2023
Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>
@megemini 这个 PR 还有什么问题不?我扫了一下好像没啥问题了? |
megemini
reviewed
Aug 22, 2023
有一个 fluid ,直接改掉吧,应该没啥问题了 ~ |
megemini
approved these changes
Aug 22, 2023
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 ~ 赞!
luotao1
approved these changes
Aug 22, 2023
BeingGod
pushed a commit
to BeingGod/Paddle
that referenced
this pull request
Sep 9, 2023
…Paddle#56166) * fix: updated code examples. * fix: added paddle.seed * fix: updated code style * Apply suggestions from code review * refactor: refine detail of code examples * Update python/paddle/distributed/auto_parallel/static/process_mesh_v2.py * fix: refine detail * fix: refine detail * Update python/paddle/distributed/auto_parallel/static/process_mesh_v2.py Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com> * refactor: refine detail * refactor: refine detail * fix: refine doc --------- Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR types
Others
PR changes
Others
Description
修改如下文件的示例代码,使其通过
xdoctest
检查:预览:
en: http://preview-paddle-pr-56166.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/en/api/paddle/abs_en.html
zh: http://preview-paddle-pr-56166.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/abs_cn.html
关联 PR:
@sunzhongkai588 @SigureMo @megemini