Skip to content

Conversation

@co63oc
Copy link
Contributor

@co63oc co63oc commented Jul 6, 2025

paddle.nn.functional.nll_loss
PaddleAPITest 为numpy error
image

查看文档,类别数可能需要大于0,为0没有实际含义
https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/api/paddle/nn/functional/nll_loss_cn.html#nll-loss
image

取消配置信息

Copy link
Collaborator

@cangtianhuang cangtianhuang left a comment

Choose a reason for hiding this comment

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

Those configs look invalid for torch too:
image
LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants