Skip to content
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

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

594233
Copy link
Contributor

@594233 594233 commented Mar 25, 2025

Copy link

paddle-bot bot commented Mar 25, 2025

感谢你贡献飞桨文档,文档预览构建中,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 策略"
Copy link
Collaborator

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)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
.. py:function:: paddle.cast(x, dtype)
.. py:function:: paddle.cast_(x, dtype)

log10\_
-------------------------------

.. py:function:: paddle.log10(x, name=None)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
.. py:function:: paddle.log10(x, name=None)
.. py:function:: paddle.log10_(x, name=None)

log2\_
-------------------------------

.. py:function:: paddle.log2(x, name=None)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
.. py:function:: paddle.log2(x, name=None)
.. py:function:: paddle.log2_(x, name=None)

log\_
-------------------------------

.. py:function:: paddle.log(x, name=None)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
.. py:function:: paddle.log(x, name=None)
.. py:function:: paddle.log_(x, name=None)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor HappyOpenSource 快乐开源活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants