tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-tvm] comaniac opened a new pull request #5656: [BYOC] Pattern Language MergeComposite
Date Fri, 22 May 2020 20:40:31 GMT

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



Mime
View raw message