Tung D. Le
a65820940c
Lower ConstantOp ( #28 )
...
* Lower ConstantOp
* Refactor the code
* Edit error messages
* Check whether attribute is sparse or dense during shape inference
2020-03-12 10:58:42 -04:00
chentong319
391f565a66
Lower constant padding operation to KRNL dialect ( #27 )
2020-03-11 16:54:07 -04:00
Gheorghe-Teodor Bercea
fe3279e721
Initialize operation arguments with ONNX model constants ( #8 )
...
* Save current state.
* Include constant arguments in source.
* Emit constants for Reshape second argument.
* Clean-up code.
* Add changes to gen_doc.py file.
* Propagate constant tensor to Reshape second arg to infer shape.
* Update documentation.
* Eliminate constant tensor operations when lowering to KRNL dialect.
* Replace ConstantTensorOp with ConstantOp.
* Add comment to remove temporary Constant lowering code.
* Remove unused shape inference for Constant.
* Remove comment.
* Remove explicit constant elimination.
* Refactor code.
2020-03-10 14:46:35 -04:00
Gheorghe-Teodor Bercea
8a992b619f
Create some helper functions to emit constant op for a specific type ( #7 )
...
* emitConstantOp with a given type
* Helper functions to create infinity constants
* Use new constant helper functions for MaxPoolSingleOut
Co-authored-by: Gheorghe-Teodor Bercea <gt.bercea@gmail.com>
2020-03-05 14:21:00 -05:00
Gheorghe-Teodor Bercea
ee3e140ddb
[NFC] Change structure of conversion folder. ( #96 )
...
* Change structure of conversion folder.
* Fix comments.
Co-authored-by: Tian Jin <tjingrant@gmail.com>
2020-02-25 10:38:08 -05:00