Skip to content

Commit

Permalink
[TEST] Address flaky error in test_any (apache#6705)
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen authored and Trevor Morris committed Dec 2, 2020
1 parent f2f9d20 commit 9478123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/relay/test_any.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def check_result(
if flatten:
result = result.flatten()
expected = expected.flatten()
tvm.testing.assert_allclose(result, expected)
tvm.testing.assert_allclose(result, expected, atol=2e-6)


def verify_any_broadcast(x_shape, y_shape, x_np_shape, y_np_shape, op, np_op):
Expand Down

0 comments on commit 9478123

Please sign in to comment.