Skip to content

Commit

Permalink
Reduce rtol in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Uri Granta committed Aug 1, 2023
1 parent ef48ec0 commit 314fee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/models/keras/test_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def test_ensemble_trajectory_sampler_trajectory_on_subsets_same_as_set(diversify
eval_2 = trajectory(test_data[100:200, :])
eval_3 = trajectory(test_data[200:300, :])

npt.assert_allclose(eval_all, tf.concat([eval_1, eval_2, eval_3], axis=0), rtol=5e-6)
npt.assert_allclose(eval_all, tf.concat([eval_1, eval_2, eval_3], axis=0), rtol=1e-5)


@random_seed
Expand Down

0 comments on commit 314fee9

Please sign in to comment.