-
Notifications
You must be signed in to change notification settings - Fork 764
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
映射文档 No. 38 #5833
映射文档 No. 38 #5833
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-5833.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
你好,我对分组ID 38 #5691 中的10个api进行了映射,其中5个已经存在,我只是对其md文件的格式和部分参数进行了相应的修改。 |
@Tomoko-hjf 麻烦看一下~谢谢 |
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.
有一个共性问题,所有的示例代码需要本地测试一下能不能跑通,输入可以用torch.tensor()
或paddle.to_tensor()
转换一下,不能给用户一个错误的示例,辛苦修改一下~
#### out:指定输出 | ||
```python | ||
# Pytorch 写法 | ||
torch.digamma([[1, 1.5], [0, -2.2]], out=y) |
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.
这里示例的写法是不对的,输入必须是tensor,不能是list,可以直接 torch.digamma(x, out=y)
可以用x表示,或者用torch.tensor([[1, 1.5], [0, -2.2]])转换一下,但不能给用户一个错误的示例,下面的示例也需要修改一下~
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.
您好,我这边已经将所有的示例进行了修改和测试,麻烦您再检查一下,谢谢~
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.
LGTM
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.
LGTM
hi, @eternalmeteor
|
完成对映射文件No.38的工作。