Update: For **A.2**, I've made a POC here: 
https://github.com/comaniac/tvm/tree/add_const_to_pattern

With the POC, we can match the following pattern:

```python
conv2d = is_op('nn.conv2d')(wildcard(), ConstantPattern())
pattern = is_op('nn.bias_add')(conv2d, wildcard())
```





---
[Visit Topic](https://discuss.tvm.ai/t/patternlang-match-constant-nodes/6835/2) 
to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/a55f183465d0bd0d12e60c78940c1e98be0e9cd6a56b015e768aef0c928006d3).

Reply via email to