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] reformat example code with google style in No.365~370 #58213

Closed
wants to merge 2 commits into from

Conversation

yuchen202
Copy link
Contributor

@yuchen202 yuchen202 commented Oct 18, 2023

PR types

Others

PR changes

Others

Description

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

python/paddle/incubate/nn/functional/fused_layer_norm.py
python/paddle/incubate/nn/functional/masked_multihead_attention.py
python/paddle/incubate/nn/functional/variable_length_memory_efficient_attention.py
python/paddle/incubate/optimizer/gradient_merge.py
python/paddle/incubate/optimizer/lars_momentum.py

解决:python/paddle/incubate/nn/functional/fused_rms_norm.py的冲突问题
关联PR:#57786

Related links

@paddle-bot
Copy link

paddle-bot bot commented Oct 18, 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 Oct 18, 2023
@yuchen202 yuchen202 changed the title 解决fused_rms_norm.py的冲突 [xdoctest] reformat example code with google style in No.365~370 Oct 18, 2023
@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Oct 19, 2023
@@ -56,6 +56,7 @@ def fused_rms_norm(

>>> # doctest: +REQUIRES(env:GPU)
>>> import paddle

Copy link
Member

Choose a reason for hiding this comment

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

这是在做什么呢?

@paddle-ci-bot
Copy link

paddle-ci-bot bot commented Oct 28, 2023

Sorry to inform you that 0f1fe41's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

@megemini
Copy link
Contributor

megemini commented Nov 2, 2023

@SigureMo 帮忙关了吧 ~

@SigureMo SigureMo closed this Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers HappyOpenSource 快乐开源活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants