Is it possible to register an op pattern based on the target in Relay?
For example, I have the TVM-style implementation of matmul and the cblas (external library) implementation of matmul. If my target says to use the TVM version, I want the pattern to be OUT_ELEMWISE_FUSABLE. However, if my target says to use cblas, I want my op pattern to be OPAQUE.
I have tested this and found that OPAQUE has better performance when using an external implementation of matmul.
It already seems possible to register a schedule based on the target.