-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
python/paddle/tensor/manipulation.py
Outdated
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_`. |
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.
Please refer to :ref:`api_paddle_index_fill_`. | |
Please refer to :ref:`api_paddle_index_fill`. |
python/paddle/tensor/manipulation.py
Outdated
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: |
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.
和其他 inplace API 一样,示例代码也删掉吧
如 https://www.paddlepaddle.org.cn/documentation/docs/en/develop/api/paddle/abs__en.html
python/paddle/tensor/manipulation.py
Outdated
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: |
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.
同下,示例代码也删掉吧
|
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.
PR Category
User Experience
PR Types
Docs
Description
Uniformly use Inplace to link Outplace documents, synchronized with Chinese documents
对应的中文文档pr:
PaddlePaddle/docs#6864