Average Pooling 3D AVX2 Implementation (#26111)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/26111
3D AveragePool AVX2 implementation.
ghstack-source-id: 89997917
Test Plan:
buck test mode/dev //caffe2/caffe2/quantization/server:pool_dnnlowp_op_test
```
[jianyuhuang@devvm794.ftw3.facebook.com: ~/fbsource/fbcode/caffe2/aten/src/ATen/native] $ buck test mode/dev //caffe2/caffe2/quantization/server:pool_dnnlowp_op_test
Building: finished in 7.3 sec (100%) 9885/9885 jobs, 5 updated
Total time: 7.8 sec
Trace available for this run at /tmp/testpilot.20190912-113555.187864.log
TestPilot test runner for Facebook. See https://fburl.com/testpilot for details.
Testpilot build revision 56b41ca91d4d1fbda32ec1f4d992fa85f9215fd1 fbpkg 8ef46ee301e64eb1aab58fe98a6a0777 at Wed Sep 11 23:27:02 2019 by twsvcscm from /usr/local/fbprojects/packages/testinfra.testpilot/698/t.par
Discovering tests
Running 2 tests
Started new test run: https://our.intern.facebook.com/intern/testinfra/testrun/3659174704896894
✓ caffe2/caffe2/quantization/server:pool_dnnlowp_op_test - test_dnnlowp_max_pool (caffe2.caffe2.quantization.server.pool_dnnlowp_op_test.DNNLowPOpPoolTest) 0.358 1/2 (passed)
✓ caffe2/caffe2/quantization/server:pool_dnnlowp_op_test - test_dnnlowp_average_pool (caffe2.caffe2.quantization.server.pool_dnnlowp_op_test.DNNLowPOpPoolTest) 0.331 2/2 (passed)
✓ caffe2/caffe2/quantization/server:pool_dnnlowp_op_test - main 0.000 (passed)
Finished test run: https://our.intern.facebook.com/intern/testinfra/testrun/3659174704896894
Summary (total time 7.91s):
PASS: 3
FAIL: 0
SKIP: 0
FATAL: 0
TIMEOUT: 0
OMIT: 0
```
Reviewed By: dskhudia
Differential Revision: D17346452
fbshipit-source-id: a3342b2fa22c8eaed8426a110ad7e2cc056ed373