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 92a5673 commit f4c1dbeCopy full SHA for f4c1dbe
tests/test_links/test_links.py
@@ -66,6 +66,7 @@ def test_positive_semi_definite(random_matrix_batch):
66
67
output = activation(random_matrix_batch)
68
69
+ output = keras.ops.convert_to_numpy(output)
70
eigenvalues = np.linalg.eig(output).eigenvalues
71
72
assert np.all(eigenvalues.real > 0) and np.all(np.isclose(eigenvalues.imag, 0)), (
0 commit comments