Skip to content

Conversation

NKNaN
Copy link
Contributor

@NKNaN NKNaN commented May 31, 2024

Copy link

paddle-bot bot commented May 31, 2024

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

Copy link
Collaborator

@zhwesky2010 zhwesky2010 left a comment

Choose a reason for hiding this comment

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

最终暴露的API是:

paddle.log_normal paddle.log_normal_ paddle.Tensor.log_normal_

check一下

@@ -172,6 +172,8 @@ Methods
logical_not
logical_or
logical_xor
log_normal
Copy link
Collaborator

Choose a reason for hiding this comment

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

这个不适合做Tensor类方法吧

Copy link
Contributor Author

Choose a reason for hiding this comment

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

已删除

@NKNaN
Copy link
Contributor Author

NKNaN commented Jun 1, 2024

最终暴露的API是:

paddle.log_normal paddle.log_normal_ paddle.Tensor.log_normal_

check一下

好的



返回符合对数正态分布(对应正态分布的均值为 ``mean``,标准差为 ``std``)的随机 Tensor。

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
Contributor Author

Choose a reason for hiding this comment

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

已添加

Copy link
Collaborator

@sunzhongkai588 sunzhongkai588 left a comment

Choose a reason for hiding this comment

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

LGTM

@luotao1 luotao1 merged commit 77e0eda into PaddlePaddle:develop Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor PaddlePaddle Hackathon 飞桨黑客松活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants