We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fa3010 commit 1de8c07Copy full SHA for 1de8c07
tests/test_links/test_links.py
@@ -1,3 +1,4 @@
1
+import keras
2
import numpy as np
3
import pytest
4
@@ -25,6 +26,7 @@ def test_invalid_shape_for_ordered_quantiles_with_specified_axis(
25
26
27
28
def check_ordering(output, axis):
29
+ output = keras.ops.convert_to_numpy(output)
30
assert np.all(np.diff(output, axis=axis) > 0), f"is not ordered along specified axis: {axis}."
31
for i in range(output.ndim):
32
if i != axis % output.ndim:
0 commit comments