onnx-mlir/doc
Tian Jin 9c398c0121
Support Optional Inputs (#94)
* 1. Combine variadicIn/Out with expectedNumOperands/Results to simplify import function arguments.
2. Generic improvements to code readability in gen_doc.py.

* Update ONNX Dialect doc.

* Remove redundant code in ImportNode.

* Prettify op_build_table.inc.

* 1. Remove irrelevant code in gen_doc.py

* Refactor code to be more readable.

* Further refactoring for readability improvements.

* Allow gemm to have an optional operand (bias term), and include an example of declarative optimization pattern targeting gemm with bias term ommitted.

* Make shape inference/lowering of gemm op compatible with optional operand declaration.

* Apply canonicalization again after lowering from onnx -> std dialects.

* Make hasBias compatible with the situation of GemmNoBias op.

* Update doc.

* Add a canonicalization test.

* Remove special handler for importing Gemm op, as it's redundant now.
2020-02-24 23:46:48 +08:00
..
Dialects Support Optional Inputs (#94) 2020-02-24 23:46:48 +08:00
doc_check Using Tablegen to Generate Op Documentation (#74) 2020-02-10 14:18:54 -05:00
CMakeLists.txt [RFC] Doc-check utility. (#12) 2020-01-09 18:35:52 -05:00
ImportONNXDefs.md Op def output (#73) 2020-02-08 00:10:35 +08:00
gen_doc.py Support Optional Inputs (#94) 2020-02-24 23:46:48 +08:00