onnx-mlir/test/mlir
Tung D. Le eac2297624
Lower MaxPooling and AveragePool to Krnl dialect using AffineMap (#38)
* Create a template for pooling and add support for AveragePool

* Edit MLIR tests for MaxPool according to the new lowering template for pooling

* Dealloc temporary variables

* Support count_include_pad for AveragePool

* Add MLIR tests for AveragePool lowering

* Make changes according to Tian's comments

* Push AffineMap as upper bound for KrnlIterateOp

* Test AffineMap to use in Pooling

* Replace the old implementaion by a new one using AffineMap

* Fix the computation when dilations are non-unit

* Clean up the old code

* Remove AveragePool from Canonicalization pass

* Fix computing the end indices of a filter window

* Refactor the code for pooling

* Revise pushAffineMapBound

* Add MLIR tests

* Remove unused functions

* Fix check-onnx-backend build on x86 Linux. (#91)

* Add the split marker to test files (#90)

Co-authored-by: Tian Jin <tjingrant@gmail.com>

Co-authored-by: gongsu832 <gong_su@hotmail.com>
Co-authored-by: Tian Jin <tjingrant@gmail.com>
2020-04-19 21:39:34 +08:00
..
conversion Bug fix, ensure krnl.iterate can lower in the degenerate case. (#78) 2020-04-10 23:27:00 +08:00
krnl Add the split marker to test files (#90) 2020-04-16 15:17:27 +08:00
onnx Lower MaxPooling and AveragePool to Krnl dialect using AffineMap (#38) 2020-04-19 21:39:34 +08:00
transform Support attribute promotion. (#34) 2020-03-19 15:03:37 +08:00
CMakeLists.txt Name change for tests, to be check-onnx-(lit | backend) (#62) 2020-03-31 10:06:14 -04:00
lit.cfg.py [NFC] Change ONNF based names to ONNX-MLIR (#32) 2020-03-17 09:16:33 -04:00
lit.site.cfg.py.in Specify each lib only once; allow llvm build in shared libs mode. (#77) 2020-04-14 17:40:05 +08:00