You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by "Cody H. Yu via Apache TVM Discuss" <no...@discuss.tvm.ai> on 2020/10/27 04:21:17 UTC

[Apache TVM Discuss] [Questions] How to match the pattern of a function in Relay?


Check this out: https://tvm.apache.org/docs/langref/relay_pattern.html





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

[Apache TVM Discuss] [Questions] How to match the pattern of a function in Relay?

Posted by moderato via Apache TVM Discuss <no...@discuss.tvm.ai>.

Thanks! I had checked that out, but seems it doesn't show a way to match a function. In my case conv+mul+add+relu is already wrapped into a function, so I failed to match them directly. One example in the tutorial related to function matching uses function attr, but it looks like the function I have above has a None attr.

Any thoughts?





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