Skip to content

log_cn.rst #7236

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

log_cn.rst #7236

wants to merge 1 commit into from

Conversation

quite125
Copy link

@quite125 quite125 commented Apr 6, 2025

No description provided.

Copy link

paddle-bot bot commented Apr 6, 2025

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

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Contributor

@cangtianhuang cangtianhuang left a comment

Choose a reason for hiding this comment

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

同学好😊!你的修改不太符合文档的格式要求,可以多参考参考其他文档的撰写方式~

比如:https://github.com/PaddlePaddle/docs/blob/develop/docs/api/paddle/abs_cn.rst?plain=1




paddle.log(x, name=None)
Copy link
Contributor

Choose a reason for hiding this comment

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

需要使用 py:function:: 格式,具体请参考其他文档的撰写方法


- **x** (Tensor) – 输入为 Tensor。数据类型只能为 int32,int64,float16,bfloat16,float32, float64, complex64 或 complex128。
:::::::::
- **x** (Tensor) – 输入的 Tensor。数据类型只能为 int32、int64、float16、bfloat16、float32、float64、 complex64 或 complex128
Copy link
Contributor

Choose a reason for hiding this comment

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

一般使用中文逗号隔开,这里不需要修改


COPY-FROM: paddle.log
[[0.69314718, 1.09861231, 1.38629436],
[1.94591010, 2.07944155, 2.19722462]])
Copy link
Contributor

Choose a reason for hiding this comment

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

COPY-FROM: paddle.log 是从英文文档的代码示例中自动复制过来,不需要直接写明代码示例吧~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants