forked from apache/tvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[UnitTest][TIR] Support IRModule comparisons in CompareBeforeAfter
A follow-up commit from apache#12264. This allows the before/expected fixtures generated by `tvm.testing.CompareBeforeAfter` to be `IRModule` instances as well as `PrimFunc`. This is intended to allow testing that requires comparing more than one function (e.g. hoisting/fusing a PrimFunc).
- Loading branch information
1 parent
7dbc68d
commit 4768d8b
Showing
2 changed files
with
115 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters