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
add channels last for AdaptiveAvgPool2d #48916
Conversation
optimize adaptive average pool2d forward path optimize adaptive average pool2d backward path remove unused headers minor change minor change rename the header; add adaptive max pooling in future. minor change loosen adapative_pool2d test on nhwc to both device cuda and cpu minor change [ghstack-poisoned]
use this one to replace #42104. Updates:
Results:Machine: CPU Intel(R) Xeon(R) Platinum 8260 CPU @ 2.40GHz, 2*20 cores. Code base: before: 96aaa311, after: 86bf0cc7. Time per iteration (unit: ms), the lower the better.
|
Codecov Report
@@ Coverage Diff @@
## gh/mingfeima/2/base #48916 +/- ##
=======================================================
- Coverage 80.76% 80.76% -0.01%
=======================================================
Files 1867 1869 +2
Lines 201584 201542 -42
=======================================================
- Hits 162817 162782 -35
+ Misses 38767 38760 -7 |
@VitalyFedyunin merged this pull request in 690eaf9. |
Stack from ghstack:
optimize adaptive average pool2d forward path
optimize adaptive average pool2d backward path
remove unused headers
minor change
minor change
rename the header; add adaptive max pooling in future.
minor change
loosen adapative_pool2d test on nhwc to both device cuda and cpu
minor change
Differential Revision: D25399469