tkonolige edited a comment on pull request #7233:
URL: https://github.com/apache/tvm/pull/7233#issuecomment-757037556


   @masahi Here is an example of having multiple implementations for the same 
op, with some of them being external. 
https://github.com/apache/tvm/blob/main/python/tvm/relay/op/strategy/x86.py#L371-L393
 In this example, `schedule_dense_cblas` is just `schedule_extern` 
(https://github.com/apache/tvm/blob/54c995dbf7c96c1184c2baf64de87bc9566fe33a/python/tvm/topi/x86/dense.py#L265).
   
   You can conditionally call `strategy.add_implementation` based on the input 
sizes (also in this example).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to