I'd be happy to extend the parition pass to accept an optional map of 
attributes. I think it's a relatively small change to the pass, if you guys 
think that would be the easiest option.

Something I thought of over the last few days: If some patterns in your list 
are larger (say conv-bias-relu), and later patterns in the list are subgraphs 
of previous patterns (say conv-bias), you may end up with a case where you have 
a composite function called from inside another composite function, which is 
probably not the goal.

It might be a good idea to introduce a default "Partitioned" attribute and not 
re-partition inside the "Partitioned" functions in later passes.

CC @jroesch @tqchen





---
[Visit 
Topic](https://discuss.tvm.ai/t/byoc-use-pattern-language-to-create-composite-functions/6727/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/83483bc78911591307a46f0608f05d482761d27020ed9ac75d9821d44e861c64).

Reply via email to