You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[DIP] Infer operation data type based on its params for Corr2D (buddy-compiler#63)
* Add lit-test for correlation2D
* Add correlation i32 test
* Add support for i32 correlation 2d
* Enable default attribute printing for DIP
* Add a check for compatbility return type
* Update lit test to find mlir cpu utils
* Make output to be param for Corr2d
- having it as a return value causes to segfault correlation2D sample
- it is not clear how to return MemRef from C-interface
* Mark attributes with <> in dip.mlir
* Add a operand type check for Corr2D op and a test
- Make sure that input, kernel, output and constant have the same
value and use as inferred type
- Adding a negative lit test to check params of the op
* Fix review comments
* Add support for i8,i64,f64
* Fix correlation2D_f64 test
* by constructing F64 correctly
* Fix review comment and formatting issues
* Fix more review comment
- extend correlation2d_invalid_type test to cover a condition for supported types
- add comments for utility functions
* Remove insertZeroConstantOp from LowerDIPPass
- it is present in DIPItility.h
* Trivial changes
Co-authored-by: meshtag <[email protected]>
0 commit comments