-
Notifications
You must be signed in to change notification settings - Fork 822
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
base: develop
Are you sure you want to change the base?
log_cn.rst #7236
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7236.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
|
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.
同学好😊!你的修改不太符合文档的格式要求,可以多参考参考其他文档的撰写方式~
比如:https://github.com/PaddlePaddle/docs/blob/develop/docs/api/paddle/abs_cn.rst?plain=1
|
||
|
||
|
||
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:: 格式,具体请参考其他文档的撰写方法
|
||
- **x** (Tensor) – 输入为 Tensor。数据类型只能为 int32,int64,float16,bfloat16,float32, float64, complex64 或 complex128。 | ||
::::::::: | ||
- **x** (Tensor) – 输入的 Tensor。数据类型只能为 int32、int64、float16、bfloat16、float32、float64、 complex64 或 complex128 |
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.
一般使用中文逗号隔开,这里不需要修改
|
||
COPY-FROM: paddle.log | ||
[[0.69314718, 1.09861231, 1.38629436], | ||
[1.94591010, 2.07944155, 2.19722462]]) |
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.
COPY-FROM: paddle.log 是从英文文档的代码示例中自动复制过来,不需要直接写明代码示例吧~
No description provided.