Commit 7034688b authored by Zimin Li's avatar Zimin Li
Browse files

Remove strict argument in debug()->np.testing.assert_allclose()

parent 9bd8df78
......@@ -201,7 +201,7 @@ def debug(actual, desired, atol=0, rtol=1e-2, equal_nan=False, verbose=True):
print_discrepancy(actual, desired, atol, rtol, verbose)
np.testing.assert_allclose(
actual.cpu(), desired.cpu(), rtol, atol, equal_nan, verbose=True, strict=True
actual.cpu(), desired.cpu(), rtol, atol, equal_nan, verbose=True
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment