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
Move gemm_to_matmul_add rule to ort fusion rules (#2398)
Stop decomposing gemm to matmul add by default because it is a more
compact representation. Move the ort fusion rules so it keeps
functioning for ort.
---------
Signed-off-by: Justin Chu <[email protected]>
|**Constant folding** <br>`constant_folding.fold_constants`| Applies constant folding optimization to the model. |
34
31
|**Constant propagation** <br>`constant_folding.fold_constants`| Applies constant propagation optimization to the model. Applied as part of the constant folding optimization. |
35
32
|**Sequence simplification** <br>`constant_folding.fold_constants`| Simplifies Sequence based ops (SequenceConstruct, ConcatFromSequence) present in the model. Applied as part of the constant folding optimization. |
36
33
|**Remove unused nodes** <br>`remove_unused.remove_unused_nodes`| Removes unused nodes from the model. |
37
34
|**Remove unused functions** <br>`remove_unused_function.remove_unused_functions`| Removes unused function protos from the model. |
38
35
|**Inline functions with unused outputs** <br>`simple_function_folding.inline_functions_with_unused_outputs`| Inlines function nodes that have unused outputs. |
39
36
|**Inline simple functions** <br>`simple_function_folding.inline_simple_functions`| Inlines simple functions based on a node count threshold. |
40
-
:::
41
-
42
-
## List of pattern rewrite rules applied by `onnxscript.optimizer.optimize`
0 commit comments