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/01/11 02:40:15 UTC

[GitHub] [incubator-tvm] tqchen opened a new pull request #4687: [REFACTOR][IR] Unified IR Primitive Op and Registry

tqchen opened a new pull request #4687: [REFACTOR][IR] Unified IR Primitive Op and Registry
URL: https://github.com/apache/incubator-tvm/pull/4687
 
 
   This PR migrates relay's Op into the ir folder.
   Op and its registry provides an useful mechanism to
   store any attribute meta-data of an operator include
   function signatures, lowering rules, side effect etc.
   
   These features are not only useful for Relay, but also needed in the low-level IR.
   At the current moment, intrinsic functions in the low-level IR are simply
   represented by a string. This means we cannot type-check the low-level IR
   when the type does not meet the constraint, nor can we obtain further
   information such as side-effect and read write relation of these intrinsics
   wrt to arguments.
   
   Op will be used as the way to handle primitive ops(in DL terminology)
   (builtin intrinsics or in compiler terminology).
   We will perform follow-up refactors to make low-level CallNode
   take Op as the function argument.

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [incubator-tvm] tqchen merged pull request #4687: [REFACTOR][IR] Unified IR Primitive Op and Registry

Posted by GitBox <gi...@apache.org>.
tqchen merged pull request #4687: [REFACTOR][IR] Unified IR Primitive Op and Registry
URL: https://github.com/apache/incubator-tvm/pull/4687
 
 
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [incubator-tvm] tqchen commented on issue #4687: [REFACTOR][IR] Unified IR Primitive Op and Registry

Posted by GitBox <gi...@apache.org>.
tqchen commented on issue #4687: [REFACTOR][IR] Unified IR Primitive Op and Registry
URL: https://github.com/apache/incubator-tvm/pull/4687#issuecomment-573272271
 
 
   depends on #4678 , cc @jroesch @zhiics @wweic @icemelon9 @yzhliu @ZihengJiang @Hzfengsy @merrymercy 

----------------------------------------------------------------
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


With regards,
Apache Git Services