Skip to content

Conversation

@Qin-sx
Copy link
Contributor

@Qin-sx Qin-sx commented Jun 23, 2025

No description provided.

new file: docs/api/paddle/nn/MultiLabelMarginLoss_cn	modified: docs/api/paddle/nn/Overview_cn.rst	new file: docs/api/paddle/nn/functional/multi_label_margin_loss_cn.rst	new file: docs/guides/model_convert/convert_from_pytorch/api_difference/functional/torch.nn.functional.multilabel_margin_loss.md	new file: docs/guides/model_convert/convert_from_pytorch/api_difference/nn/torch.nn.MultiLabelMarginLoss.md
@paddle-bot
Copy link

paddle-bot bot commented Jun 23, 2025

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7331.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.

pytorch_api_mapping_cn.md中标记了这两个API属于功能缺失(未实现),需要删除掉

infoflow 2025-07-09 12-14-04
| size_average | - | PyTorch 已弃用, Paddle 无此参数,需要转写。 |
| reduce | - | PyTorch 已弃用, Paddle 无此参数,需要转写。 |
| reduction | reduction | 指定应用于输出结果的计算方式。 |
| - | name | Paddle 支持的操作名称,PyTorch 无此参数。 |
Copy link
Collaborator

Choose a reason for hiding this comment

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

这个 name 参数统一不用管

Copy link
Contributor Author

Choose a reason for hiding this comment

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

嗯,收到,已修改

| size_average | - | 已废弃,和 reduce 组合决定损失计算方式。 |
| reduce | - | 已废弃,和 size_average 组合决定损失计算方式。 |
| reduction | reduction | 指定应用于输出结果的计算方式。 |
| - | name | Paddle 支持的操作名称,PyTorch 无此参数。 |
Copy link
Collaborator

Choose a reason for hiding this comment

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

这个 name 参数统一不用管

Copy link
Contributor Author

Choose a reason for hiding this comment

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

嗯,收到,已修改

modified: docs/guides/model_convert/convert_from_pytorch/api_difference/functional/torch.nn.functional.multilabel_margin_loss.md	modified: docs/guides/model_convert/convert_from_pytorch/api_difference/nn/torch.nn.MultiLabelMarginLoss.md	modified: docs/guides/model_convert/convert_from_pytorch/pytorch_api_mapping_cn.md
@Qin-sx
Copy link
Contributor Author

Qin-sx commented Jul 16, 2025

pytorch_api_mapping_cn.md中标记了这两个API属于功能缺失(未实现),需要删除掉

infoflow 2025-07-09 12-14-04

嗯,收到,已修改

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

@luotao1 luotao1 merged commit 1df3d89 into PaddlePaddle:develop Jul 24, 2025
1 of 2 checks passed
LittleHeroZZZX pushed a commit to LittleHeroZZZX/Paddle-docs that referenced this pull request Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants