Skip to content

Uniformly use Inplace to link Outplace documents #68206

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 2 commits into from
Sep 23, 2024

Conversation

fufu0615
Copy link
Contributor

@fufu0615 fufu0615 commented Sep 13, 2024

PR Category

User Experience

PR Types

Docs

Description

Uniformly use Inplace to link Outplace documents, synchronized with Chinese documents

对应的中文文档pr:
PaddlePaddle/docs#6864

Copy link

paddle-bot bot commented Sep 13, 2024

你的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 13, 2024
@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Sep 14, 2024
Returns:
Tensor, same dimension and dtype with x.
Inplace version of ``index_fill_`` API, the output Tensor will be inplaced with input ``x``.
Please refer to :ref:`api_paddle_index_fill_`.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Please refer to :ref:`api_paddle_index_fill_`.
Please refer to :ref:`api_paddle_index_fill`.

Returns:
Tensor, same dimension and dtype with x.
Inplace version of ``index_fill_`` API, the output Tensor will be inplaced with input ``x``.
Please refer to :ref:`api_paddle_index_fill_`.

Examples:
Copy link
Member

Choose a reason for hiding this comment

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

和其他 inplace API 一样,示例代码也删掉吧

https://www.paddlepaddle.org.cn/documentation/docs/en/develop/api/paddle/abs__en.html

Returns:
Tensor, same dimension and dtype with x.
Inplace version of ``index_put_`` API, the output Tensor will be inplaced with input ``x``.
Please refer to :ref:`api_paddle_index_put`.

Examples:
Copy link
Member

Choose a reason for hiding this comment

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

同下,示例代码也删掉吧

@CLAassistant
Copy link

CLAassistant commented Sep 19, 2024

CLA assistant check
All committers have signed the CLA.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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 🐾

CLA 需要重新签署下,最近这个好像出了点问题,都需要重新签署

@fufu0615
Copy link
Contributor Author

LGTMeow 🐾

CLA 需要重新签署下,最近这个好像出了点问题,都需要重新签署

了解,另外一师傅好快的速度😲

@luotao1 luotao1 merged commit c94f8a2 into PaddlePaddle:develop Sep 23, 2024
28 of 30 checks passed
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.

5 participants