GHEORGHE-TEOD BERCEA
dc36fd416b
[MLIR] Fix shape inference and enable ONNF to read in MLIR files. ( #367 )
...
* Fix inference. Enable ONNF to read in MLIR files.
* Fix input of onnx or mlir models.
* Address comments.
2019-12-21 00:12:27 -05:00
GHEORGHE-TEOD BERCEA
63596e723f
[MLIR] Add optimization based on TableGen pattern ( #363 )
...
* Define pattern.
* Fix file names.
* Add canonicalizer optimization based on TableGen pattern.
* Remove custom builders.
* Enable canonicalization in ONNF and ONNF-OPT.
2019-12-21 00:04:51 -05:00
GHEORGHE-TEOD BERCEA
03be41f7df
[MLIR] Add shape inference pass ( #361 )
...
* Add shape inference pass.
* Format code.
* Enable shape inference pass.
* Rename new files to use ONNF convention.
* Use include path from src folder.
* Replace guards with pragma once.
* Format variable names. Shuffle headers.
* Fix comment.
* Fix comments.
2019-12-19 20:14:07 -05:00
GHEORGHE-TEOD BERCEA
958a2fbffc
ONNX Dialect creation and registration with MLIR ( #358 )
...
* Create and register ONNX Dialect with one Add operation.
* Fix file formatting.
* Change name from ONNX to SGIR.
* Use ONNX dialect. Change SGIR to frontend placeholder dialect.
* Add comments.
* Type clean-up.
2019-12-19 16:56:30 -05:00