@manupa-arm  @matt-arm 

So maybe I can ask more directly.

Is the ordering of first pattern matching your offloadable and then replacing, 
within the extracted composite, the native relay operators with your new 
ethosu.conv2d relay operator a solution to not being able to do what I said 
before? 

The following would feel like a simpler pipeline
1. Find and replace in the main Relay module the native Relay op pattern which 
describes your `ethosu.<operator>` (just like you did it in your legalization 
process)
2. PartitionGraph given that `ethosu.<operator>` is offloadable 
3. Relay-TIR now works like you already have it





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/how-to-add-my-custom-relay-node-to-pattern-matcher-ethosu-example/11498/2)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/2d200c2ebea313a19a46c8e50a53fd213da781d929efc8628952740d5042cecf).

Reply via email to