Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UnitTests] Use tvm.ir.assert_structural_equal whenever possible #17092

Merged
merged 2 commits into from
Jun 14, 2024

Commits on Jun 13, 2024

  1. [UnitTests] Use tvm.ir.assert_structural_equal whenever possible

    Prior to commit, many unit tests were implemented as `assert
    tvm.ir.structural_equal(output, expected)`.  While this is correct, it
    doesn't provide much information when the test fails.  The
    `tvm.ir.assert_structural_equal` method performs the equivalent check,
    but displays the exact location where a mismatch occurs.
    
    This commit replaces all use of `assert tvm.ir.structural_equal` with
    `tvm.ir.assert_structural_equal`.
    Lunderberg committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    2bdd1c9 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2024

  1. fix unit tests

    Lunderberg committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    a0e849d View commit details
    Browse the repository at this point in the history