tqchen opened a new pull request #4673: [REFACTOR][IR] Initialize Unified IR 
Expr Data Structure
URL: https://github.com/apache/incubator-tvm/pull/4673
 
 
   This PR moves a few base types from relay and low-level Expr into the ir 
sub-folder.
   These classes will serve as a common type system across the stack.
   
   Rationale:
   
   - PrimExpr for low-level expressions
   - RelayExpr for advanced features, including Function definition.
   - Introduce BaseFunc to host all functions, including future 
PrimFunc(low-level expr functions, subject to discussion).
   
   This is a minimum change we can do to unify the classes into a common 
hierachy.
   The main data structure that are variant specific will still be kept in the 
sub-namespaces.
   We will only need the BaseFunc and their checked_type to decide the calling 
convention
   across the function variants.
   

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


With regards,
Apache Git Services

Reply via email to