-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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 (#…
…12920) A follow-up commit from #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). * Prevent circular fixture references
- Loading branch information
1 parent
fc333f9
commit d9e0147
Showing
2 changed files
with
117 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