Skip to content
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 cleanup 1-8] reformat example code with google style #57670

Merged
merged 4 commits into from
Sep 25, 2023

Conversation

megemini
Copy link
Contributor

PR types

Others

PR changes

Others

Description

清理遗留代码

修改如下文件的示例代码,使其通过 xdoctest 检查:

  • paddle/fluid/pybind/eager_properties.cc
  • python/paddle/base/dataset.py
  • python/paddle/base/framework.py
  • python/paddle/base/reader.py
  • python/paddle/decomposition/register.py
  • python/paddle/distributed/auto_parallel/api.py
  • python/paddle/distributed/fleet/base/distributed_strategy.py
  • python/paddle/distributed/fleet/base/role_maker.py

Related links

@sunzhongkai588 @SigureMo

请评审!

@paddle-bot
Copy link

paddle-bot bot commented Sep 24, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added the contributor External developers label Sep 24, 2023
@megemini megemini changed the title [xdoctest][task 1-8] reformat example code with google style in cleanup [xdoctest][task cleanup 1-8] reformat example code with google style in cleanup Sep 24, 2023
@megemini megemini changed the title [xdoctest][task cleanup 1-8] reformat example code with google style in cleanup [xdoctest][task cleanup 1-8] reformat example code with google style Sep 24, 2023
python/paddle/base/framework.py Outdated Show resolved Hide resolved
python/paddle/base/framework.py Outdated Show resolved Hide resolved
python/paddle/base/framework.py Outdated Show resolved Hide resolved
python/paddle/base/framework.py Outdated Show resolved Hide resolved
python/paddle/base/framework.py Outdated Show resolved Hide resolved
python/paddle/base/framework.py Outdated Show resolved Hide resolved
Copy link
Member

@SigureMo SigureMo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTMeow 🐾

@luotao1 luotao1 added the HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 label Sep 25, 2023
@luotao1 luotao1 merged commit d10e670 into PaddlePaddle:develop Sep 25, 2023
Frida-a pushed a commit to Frida-a/Paddle that referenced this pull request Oct 14, 2023
…addlePaddle#57670)

* [Change] xdoctest part 1

* [Change] fix code-block

* [Fix] fix load_from_prototxt

* Apply suggestions from code review

---------

Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>
jiahy0825 pushed a commit to jiahy0825/Paddle that referenced this pull request Oct 16, 2023
…addlePaddle#57670)

* [Change] xdoctest part 1

* [Change] fix code-block

* [Fix] fix load_from_prototxt

* Apply suggestions from code review

---------

Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>
danleifeng pushed a commit to danleifeng/Paddle that referenced this pull request Nov 14, 2023
…addlePaddle#57670)

* [Change] xdoctest part 1

* [Change] fix code-block

* [Fix] fix load_from_prototxt

* Apply suggestions from code review

---------

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
Labels
contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants