TUNG LEDUC
|
1c3176bf9f
|
[MLIR] Lower ONNX element-wise unary ops: Exp, Tanh, Sinh, Cosh, Sigmoid (#389)
* Lower ExpOp
* Lower ONNXTanhOp
* Lower Exp Tanh, Sinh, and Cosh
* Lower ONNX Sigmoid op
* Merge
* Specialize template lowerScalarOp
* Unify ONNXEWUnaryOpLowering and ONNXEWBinaryOpLowering
* Support multiple types
* Reformat the code
* Add test cases
* Reformat the code
* Change names
* Apply clang-format
* Update variable names
|
2019-12-21 01:37:29 -05:00 |
TUNG LEDUC
|
c3ef1d93ae
|
[MLIR] Lower ONNX element-wise binary ops: Mul, Div, Sub, And, Or, Xor (#388)
* Lower ONNX element-wise binary ops: Mul, Div, Sub, And, Or, Xor
* Edit gen_doc.py to avoid changes about AnyTypeOf<[AnyMemRef, AnyTensor]>
* Miss a space
* Add tests
* Shorten ONNXElementWiseBinaryOpLowering into ONNXEWBinaryOpLowering
* Move lowering patterns into runOnModule()
* Redundant space
|
2019-12-21 01:35:31 -05:00 |