-
Notifications
You must be signed in to change notification settings - Fork 821
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
[Docathon][Add Inplace CN Doc No. 8、28-30] #7152
base: develop
Are you sure you want to change the base?
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7152.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
" :ref:`paddle.log_ <cn_api_paddle_log_>` ", "Inplace 版本的 log API,对输入 x 采用 Inplace 策略" | ||
" :ref:`paddle.log10_ <cn_api_paddle_log10_>` ", "Inplace 版本的 log10 API,对输入 x 采用 Inplace 策略" | ||
" :ref:`paddle.log2_ <cn_api_paddle_log2_>` ", "Inplace 版本的 log2 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.
cast 是元素操作相关的 inplace api 吧,放到操作相关的表格里,并且按字母排序的位置放
cast\_ | ||
------------------------------- | ||
|
||
.. py:function:: paddle.cast(x, dtype) |
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.
.. py:function:: paddle.cast(x, dtype) | |
.. py:function:: paddle.cast_(x, dtype) |
log10\_ | ||
------------------------------- | ||
|
||
.. py:function:: paddle.log10(x, name=None) |
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.
.. py:function:: paddle.log10(x, name=None) | |
.. py:function:: paddle.log10_(x, name=None) |
log2\_ | ||
------------------------------- | ||
|
||
.. py:function:: paddle.log2(x, name=None) |
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.
.. py:function:: paddle.log2(x, name=None) | |
.. py:function:: paddle.log2_(x, name=None) |
log\_ | ||
------------------------------- | ||
|
||
.. py:function:: paddle.log(x, name=None) |
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.
.. py:function:: paddle.log(x, name=None) | |
.. py:function:: paddle.log_(x, name=None) |
同时在Overview_cn.rst中新增相关信息
issue:#7090
英文文档链接:
https://www.paddlepaddle.org.cn/documentation/docs/en/develop/api/paddle/cast__en.html
https://www.paddlepaddle.org.cn/documentation/docs/en/develop/api/paddle/log10__en.html
https://www.paddlepaddle.org.cn/documentation/docs/en/develop/api/paddle/log2__en.html
https://www.paddlepaddle.org.cn/documentation/docs/en/develop/api/paddle/log__en.html
@sunzhongkai588