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.28] #7146

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

Conversation

Ericsciencer
Copy link

新增log__cn.rst中文文档,同时在Overview_cn.rst中新增log_相关信息(在“tensor 数学操作原位(inplace)版本”标题下)
issue:#7090
英文文档链接:https://www.paddlepaddle.org.cn/documentation/docs/en/develop/api/paddle/log__en.html

Copy link

paddle-bot bot commented Mar 24, 2025

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7146.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

@Ericsciencer
Copy link
Author

@sunzhongkai588
新增log__cn.rst中文文档,同时在Overview_cn.rst中新增log_相关信息(在“tensor 数学操作原位(inplace)版本”标题下)
issue:#7090
英文文档链接:https://www.paddlepaddle.org.cn/documentation/docs/en/develop/api/paddle/log__en.html

@Ericsciencer Ericsciencer reopened this Mar 24, 2025
@CLAassistant
Copy link

CLAassistant commented Mar 24, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ Ericsciencer
❌ root


root seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.


log\_
-------------------------------
.. py:function:: paddle.log_(x)
Copy link
Collaborator

Choose a reason for hiding this comment

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

参数数量和源码不一致吧,少了几个参数

Copy link
Author

Choose a reason for hiding this comment

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

好的我修改下!

Comment on lines -249 to -251
" :ref:`paddle.normal_ <cn_api_paddle_normal_>` ", "Inplace 版本的 normal API,对输入 x 采用 Inplace 策略"
" :ref:`paddle.neg_ <cn_api_paddle_neg_>` ", "Inplace 版本的 neg API,对输入 x 采用 Inplace 策略"
" :ref:`paddle.nan_to_num_ <cn_api_paddle_nan_to_num_>` ", "Inplace 版本的 nan_to_num 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.

这部分是别人提 PR 加上去的 #7119 ,是不是解决冲突的时候误删了

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.

4 participants