-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[0-size Tensor No.221、155、187] Add 0-size Tensor support for paddle.nn.functional.softmax [fluid_ops] #74119
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
Conversation
|
你的PR提交成功,感谢你对开源项目的贡献! |
|
/re-run all-failed |
|
/re-run all-failed |
Codecov ReportAttention: Patch coverage is
❌ Your patch status has failed because the patch coverage (13.63%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## develop #74119 +/- ##
==========================================
Coverage ? 13.63%
==========================================
Files ? 4
Lines ? 22
Branches ? 0
==========================================
Hits ? 3
Misses ? 19
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@DanielSun11 CI已完成需要review |
DanielSun11
left a comment
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
|
修改了符号推导 请 @luotao1 协调云飞review |
PR Category
Operator Mechanism
PR Types
Bug fixes
Description
155 paddle.nn.functional.batch_norm
修改 infermeta, 符号推导,修改为0的检查
修改kernel,x.numel() 为0返回
PaddleAPITest 测试通过,错误为torch error

[0-size Tensor No.221] Add 0-size Tensor support for paddle.nn.functional.softmax
221 paddle.nn.functional.softmax
softmax 增加 GPUDNN 支持 0-size
增加单测
PaddleAPITest测试通过

187 paddle.nn.functional.linear
XPU 补充 matmul 0-size计算,其他kernel测试通过
增加单测
PaddleAPITest测试通过,错误为torch error
