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

SigmoidCrossEntropyWithLogitsInferMeta 对dims的check疑似与注释不匹配 #63642

Open
WintersMontagne10335 opened this issue Apr 18, 2024 · 0 comments
Labels
PFCC Paddle Framework Contributor Club,https://github.com/PaddlePaddle/community/tree/master/pfcc status/reopen 重新打开 type/question 用户提问

Comments

@WintersMontagne10335
Copy link
Contributor

WintersMontagne10335 commented Apr 18, 2024

相关链接

A
B

主要问题

  • A 处注释说 check 除了最后一个维度以外是否合法;B 处注释说 check 所有的维度是否合法。但是关于 labels_dims 的部分用的都是 common::slice_ddim(labels_dims, 0, rank),这里是不是有矛盾
  • 为什么要调用 common::slice_ddim,rank 为 x_dims.size(),common::slice_ddim(x_dims, 0, rank) 按逻辑不应该与 x_dims 相同吗
  • SigmoidCrossEntropyWithLogits 有相关文档嘛
@paddle-bot paddle-bot bot added status/close 已关闭 and removed status/new-issue 新建 labels Apr 18, 2024
@paddle-bot paddle-bot bot added status/reopen 重新打开 PFCC Paddle Framework Contributor Club,https://github.com/PaddlePaddle/community/tree/master/pfcc and removed status/close 已关闭 labels Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PFCC Paddle Framework Contributor Club,https://github.com/PaddlePaddle/community/tree/master/pfcc status/reopen 重新打开 type/question 用户提问
Projects
None yet
Development

No branches or pull requests

1 participant