[Apache TVM Discuss] [Development/pre-RFC] Pattern matching pass

2022-03-07 Thread masahi via Apache TVM Discuss
You need to use the `MergeComposite` pass. You can search its usage in our repo. --- [Visit Topic](https://discuss.tvm.apache.org/t/pattern-matching-pass/12249/2) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](http

[Apache TVM Discuss] [Development/pre-RFC] Pattern matching pass

2022-03-06 Thread MajorTom via Apache TVM Discuss
Hi, I am trying to implement a simple pass that merges a certain pattern into a single "normalize" op. I use the **register_pattern_table** which I understand is support to register the pass. def make_pattern(): data = wildcard() data2 = wildca