You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/10/26 18:16:29 UTC

[GitHub] [incubator-tvm] jtuyls opened a new pull request #6764: Add decorator for extending a native generic function

jtuyls opened a new pull request #6764:
URL: https://github.com/apache/incubator-tvm/pull/6764


   Decorator API for adding a new specialization of a native generic function for a specific target. This is for example useful for adding target specific strategies.
   
   ```
   @tvm.target.extend_native_generic_func("add_strategy", "mytarget")
   def add_strategy_mytarget(attrs, inputs, out_type, target):
       # Adds a specialization of the addition strategy for 'mytarget'
       ...
   ```
   


----------------------------------------------------------------
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:
users@infra.apache.org