-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[0-size Tensor No.82] Add 0-size Tensor support for paddle.incubate.nn.functional.fused_bias_act [fluid_ops] #74259
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 Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #74259 +/- ##
===========================================
Coverage ? 100.00%
===========================================
Files ? 1
Lines ? 1
Branches ? 0
===========================================
Hits ? 1
Misses ? 0
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
/re-run all-failed |
|
@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
PR Category
Operator Mechanism
PR Types
Bug fixes
Description
82 paddle.incubate.nn.functional.fused_bias_act
修改infermeta,x numel为0跳过检查,符号推导没有对应代码
kernel按 quant_scale 和 compute_dtype 参数不同返回不同类型 out,如果 quant_scale > 0,返回int8类型,如果 compute_dtype 有设置,按 compute_dtype 返回,其他按 x 类型设置
PaddleAPITest测试通过
