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

映射文档 No. 258/285 #6028

Merged
merged 2 commits into from
Jul 31, 2023
Merged

映射文档 No. 258/285 #6028

merged 2 commits into from
Jul 31, 2023

Conversation

co63oc
Copy link
Contributor

@co63oc co63oc commented Jul 15, 2023

PaddlePaddle/PaConvert#112

258 torch.nn.HuberLoss
285 torch.nn.functional.huber_loss

@paddle-bot
Copy link

paddle-bot bot commented Jul 15, 2023

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

@co63oc co63oc changed the title 映射文档 No. 258 映射文档 No. 258/285 Jul 15, 2023
@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Jul 17, 2023
### [paddle.nn.functional.smooth_l1_loss](https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/api/paddle/nn/functional/smooth_l1_loss_cn.html)

```python
paddle.nn.functional.smooth_l1_loss(input, label, reduction='mean', delta=1.0, name=None)
Copy link
Collaborator

Choose a reason for hiding this comment

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

infoflow 2023-07-18 22-13-50

这两个API看文档描述好像是对应不上的

Copy link
Collaborator

Choose a reason for hiding this comment

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

这个计算对比下结果吧 看是不是对应一致的API @co63oc

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

@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.

LGTM

@zhwesky2010 zhwesky2010 merged commit 4158c7a into PaddlePaddle:develop Jul 31, 2023
1 check passed
@co63oc co63oc deleted the huberloss branch August 4, 2023 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants