Skip to content
Snippets Groups Projects
Unverified Commit f9268788 authored by OuYang Yu's avatar OuYang Yu Committed by GitHub
Browse files

increase rtol atol (#4216)


Co-authored-by: default avataroneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
parent aea03748
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,7 @@ def compare_with_tensorflow_addons_lamb(
)
diff = x.flatten() - var.numpy().flatten()
test_case.assertTrue(
np.allclose(x.flatten(), var.numpy().flatten(), rtol=1e-4, atol=1e-4),
np.allclose(x.flatten(), var.numpy().flatten(), rtol=1e-3, atol=1e-3),
(case, diff),
)
......
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