-
Notifications
You must be signed in to change notification settings - Fork 838
[Docathon][Add Inplace CN Doc No.40] #7144
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
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7144.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
描述: 更多关于 inplace 操作的介绍请参考 [3.1.3 原位(Inplace)操作和非原位操作的区别]。) |
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.
另外,需要在 Overview 里增加一下该 API 的引用和描述
docs/api/paddle/pow__cn.rst
Outdated
pow\_ | ||
------------------------------- | ||
|
||
.. py:function:: paddle.pow_(x) |
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 操作的介绍请参考 [3.1.3 原位(Inplace)操作和非原位操作的区别]。) |
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.
LGTM
.. cn_api_paddle_paw:
paw_
.. py:function:: paddle.paw_(x)
Inplace 版本的 :ref:
cn_api_paddle_paw
API,对输入 x 采用 Inplace 策略。更多关于 inplace 操作的介绍请参考
3.1.3 原位(Inplace)操作和非原位操作的区别
_ 了解详情。.. _3.1.3 原位(Inplace)操作和非原位操作的区别: https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/guides/beginner/tensor_cn.html#id3