-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[0-size Tensor Job2 No.87] Add 0-size Tensor support for masked_fill #73570
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提交成功,感谢你对开源项目的贡献! |
|
请合一下最新的develop |
Codecov ReportAttention: Patch coverage is
❌ Your patch status has failed because the patch coverage (26.66%) 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 #73570 +/- ##
==========================================
Coverage ? 26.66%
==========================================
Files ? 6
Lines ? 15
Branches ? 0
==========================================
Hits ? 4
Misses ? 11
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
/re-run all-failed |
1 similar comment
|
/re-run all-failed |
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 协调云飞看一下 |
PR Category
Execute Infrastructure
PR Types
Bug fixes
Description
43 paddle.diag
修改infermeta,符号推导,如果size < 0, size = 0
修改kernel,如果out numel为0,Alloc后返回
PaddleAPITest测试通过

131 paddle.masked_fill
Job2 87 paddle.Tensor.masked_fill
输出维度是x,mask维度broadcast后的维度
反向填充0
torch测试填充为0
PaddleAPITest测试通过
