Skip to content

Commit f0de38b

Browse files
committed
Remove flaky test failing due to sampling error
1 parent 183f608 commit f0de38b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/test_networks/test_standardization.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ def test_transformation_type_both_sides_scale():
119119
cov_standardized_and_recovered = keras.ops.convert_to_numpy(cov_standardized_and_recovered)
120120
cov_input = np.cov(random_input, rowvar=False)
121121

122-
np.testing.assert_allclose(cov_input, covariance, atol=1e-1)
123122
np.testing.assert_allclose(cov_input, cov_standardized_and_recovered, atol=1e-4)
124123

125124

@@ -153,7 +152,6 @@ def test_transformation_type_left_side_scale():
153152
cov_input = np.cov(random_input, rowvar=False)
154153
chol_input = np.linalg.cholesky(cov_input)
155154

156-
np.testing.assert_allclose(chol_input, cholesky, atol=1e-1)
157155
np.testing.assert_allclose(chol_input, chol_standardized_and_recovered, atol=1e-4)
158156

159157

0 commit comments

Comments
 (0)