Skip to content

Commit

Permalink
updated atol testing value due to numerical imprecision on random ini…
Browse files Browse the repository at this point in the history
…tialization
  • Loading branch information
franckma31 committed Nov 13, 2024
1 parent 9c2d4a1 commit 014764d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_initializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ def test_initializer(layer_type, layer_params, input_shape, orthogonal_test):
if orthogonal_test:
np.testing.assert_allclose(sigmas, np.ones_like(sigmas), atol=1e-5)
else:
np.testing.assert_allclose(sigmas.max(), 1.0, atol=1e-2)
np.testing.assert_allclose(sigmas.max(), 1.0, atol=2e-2)

0 comments on commit 014764d

Please sign in to comment.