-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[0-size Tensor No.6、7、284、285]Add 0-size Tensor support for amin #73333
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
|
/re-run all-failed |
Codecov ReportAttention: Patch coverage is
❌ Your patch status has failed because the patch coverage (0.00%) 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 #73333 +/- ##
==========================================
Coverage ? 0.00%
==========================================
Files ? 2
Lines ? 6
Branches ? 0
==========================================
Hits ? 0
Misses ? 6
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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
Execute Infrastructure
PR Types
Improvements
Description
[0-size Tensor No.6、7、284、285]
paddle.amax
paddle.amin
paddle.Tensor.amax
paddle.Tensor.amin
[0-size Tensor Job2 No.47、49、88、90]
任务二中在同一个单测文件
paddle.max
paddle.min
paddle.Tensor.max
paddle.Tensor.min
修改 paddle/phi/kernels/funcs/reduce_function.h 中检查
修改 amax, amin CPU 反向, max, min 使用的是amax, amin,修改 max,min XPU 反向,以解决CI中报错
infermeta 不用修改
PaddleAPITest 测试


amax
GPU 测试通过
CPU 测试通过
amin


GPU 测试通过
CPU 测试通过
max


GPU 测试通过
CPU 错误为torch error
min


GPU 错误为torch error
CPU 错误为numpy error