-
Notifications
You must be signed in to change notification settings - Fork 822
[Docathon][Add Inplace CN Doc No.8] #7268
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-7268.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
@sunzhongkai588 pls review |
docs/api/paddle/Overview_cn.rst
Outdated
@@ -200,6 +200,7 @@ tensor 数学操作原位(inplace)版本 | |||
" :ref:`paddle.add_ <cn_api_paddle_add_>` ", "Inplace 版本的 add API,对输入 x 采用 Inplace 策略" | |||
" :ref:`paddle.addmm_ <cn_api_paddle_addmm_>` ", "Inplace 版本的 addmm API,对输入 input 采用 Inplace 策略" | |||
" :ref:`paddle.put_along_axis_ <cn_api_paddle_put_along_axis_>` ", "Inplace 版本的 put_along_axis API,对输入 x 采用 Inplace 策略" | |||
" :ref:`paddle.cast_ <cn_api_paddle_cast_>` ", "Inplace 版本的 cast API,对输入 x 采用 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.
应该归位 元素操作 下
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.
Done
docs/api/paddle/cast__cn.rst
Outdated
------------------------------- | ||
|
||
.. py:function:: paddle.cast_(x, dtype) | ||
Inplace 版本的 :ref:`cn_api_paddle_cast` API,对输入 `x `采用 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.
Inplace 版本的 :ref:`cn_api_paddle_cast` API,对输入 `x `采用 Inplace 策略。 | |
Inplace 版本的 :ref:`cn_api_paddle_cast` API,对输入 ``x`` 采用 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.
Done
预览链接: |
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
docs/api/paddle/cast__cn.rst
Overview_cn.rst加入cast_
issue:#7090
EN API:
https://www.paddlepaddle.org.cn/documentation/docs/en/develop/api/paddle/cast__en.html