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


   This PR uses the new Relay pattern language to simplify the `MergeComposite` 
pass implementation. Here are some highlights and discussions:
   
   - **After this PR, the patterns for composite functions must be rewritten.**
   - All patterns in the unit tests are rewritten to be DFPattern.
   - All unit tests are passed with the simplified implementation.
   - The `MergeComposite` pass implementation becomes a simple wrapper to call 
`PartitionPattern`.
   - I'll add a test case for a pattern with `optional` after #5653 is merged.
   
   cc @mbrookhart @mbaret @masahi @zhiics 


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


Reply via email to