Skip to content

[Docathon][Add Inplace CN Doc No.19-22] #7131

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

Merged
merged 6 commits into from
Apr 2, 2025

Conversation

mayiru1021
Copy link
Contributor

@mayiru1021 mayiru1021 commented Mar 21, 2025

…an_, i0_, lcm_中文文档;更新Overview.rst中对应的补充,修正Overvi.rst中equal_api的位置。
Copy link

paddle-bot bot commented Mar 21, 2025

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7131.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

@CLAassistant
Copy link

CLAassistant commented Mar 21, 2025

CLA assistant check
All committers have signed the CLA.

Comment on lines 269 to 270
" :ref:`paddle.greater_equal_ <_cn_api_paddle_greater_equal_>` ", "Inplace 版本的 greater_equal API,对输入 x 采用 Inplace 策略"
" :ref:`paddle.greater_than_ <_cn_api_paddle_greater_than_>` ", "Inplace 版本的 greater_than API,对输入 x 采用 Inplace 策略"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
" :ref:`paddle.greater_equal_ <_cn_api_paddle_greater_equal_>` ", "Inplace 版本的 greater_equal API,对输入 x 采用 Inplace 策略"
" :ref:`paddle.greater_than_ <_cn_api_paddle_greater_than_>` ", "Inplace 版本的 greater_than API,对输入 x 采用 Inplace 策略"
" :ref:`paddle.greater_equal_ <cn_api_paddle_greater_equal_>` ", "Inplace 版本的 greater_equal API,对输入 x 采用 Inplace 策略"
" :ref:`paddle.greater_than_ <cn_api_paddle_greater_than_>` ", "Inplace 版本的 greater_than API,对输入 x 采用 Inplace 策略"

Copy link
Collaborator

Choose a reason for hiding this comment

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

统一一下 inplace 文档的描述,可以参考其他 PR 的写法。如 #7151

Copy link
Contributor Author

Choose a reason for hiding this comment

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

已修正并推送,望您查阅。

Copy link
Collaborator

@sunzhongkai588 sunzhongkai588 left a comment

Choose a reason for hiding this comment

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

另外,Overview 少了 i0_ lcm_

@@ -0,0 +1,12 @@
.. _cn_api_paddle_greater_equal_:

greater_equal_
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
greater_equal_
greater\_equal\_

需要加\转义,下同


Inplace 版本的 ``greater_equal`` API,对输入 ``x`` 采用 Inplace 策略。

更多信息请参见 :ref:`_cn_api_paddle_greater_equal` 。
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
更多信息请参见 :ref:`_cn_api_paddle_greater_equal` 。
更多信息请参见 :ref:`cn_api_paddle_greater_equal` 。

引用时最前面的下划线去掉,下同

Copy link
Collaborator

@sunzhongkai588 sunzhongkai588 left a comment

Choose a reason for hiding this comment

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

LGTM

@luotao1 luotao1 merged commit 2fc7bc3 into PaddlePaddle:develop Apr 2, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor HappyOpenSource 快乐开源活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants