MasterJH5574 opened a new pull request #10671:
URL: https://github.com/apache/tvm/pull/10671


   This PR adds the support of tuple reduction in `CreatePrimFunc(..)`.
   
   Prior to this PR, `CreatePrimFunc(..)` errored out when the input 
`ReduceNode` reduces on tuples.
   
   With this PR, `CreatePrimFunc(..)` generates TIR blocks with correctness 
guarantees (under the help of `LetStmt`) when encountering such `ReduceNode`s. 
Please refer to the new unit tests for detailed generated TIR functions :-)
   
   ---
   
   cc @hypercubestart @junrushao1994 @Hzfengsy @tqchen 
   
   Co-authored-by: Andrew Liu <[email protected]>


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

To unsubscribe, e-mail: [email protected]

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


Reply via email to