Skip to content

Commit

Permalink
Skip discretization test for numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Sep 20, 2023
1 parent 5244d6f commit 0aa999b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion keras_core/layers/preprocessing/discretization_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ def test_adapt_flow(self):
output = layer(np.array([[0.0, 0.1, 0.3]]))
self.assertTrue(output.dtype, "int32")

@pytest.mark.skipif(backend.backend() == "torch", reason="TODO: fix me")
@pytest.mark.skipif(
backend.backend() in ("torch", "numpy"), reason="TODO: fix me"
)
def test_correctness(self):
# int mode
layer = layers.Discretization(
Expand Down

0 comments on commit 0aa999b

Please sign in to comment.