The way the API is written, the matcher doesn't traverse you're input graph, it 
will return false unless the exact node you supply matches the pattern.

The partition and rewriting functions, however, will traverse the relay 
expression, go into functions, and find the match inside your function. If you 
partition instead of matching, you should see the extraction of your pattern 
into a function.





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/how-to-match-the-pattern-of-a-function-in-relay/8283/18)
 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/533bc1063e381edfe03d8e558e6df64b74b70e0bfd9b95220223bad330f65af5).

Reply via email to