We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5370493 commit d8a36faCopy full SHA for d8a36fa
keras/src/backend/openvino/linalg.py
@@ -43,7 +43,9 @@ def eig(a):
43
44
def eigh(a):
45
import numpy as np
46
+
47
from keras.src.backend.openvino.core import convert_to_numpy
48
49
a = convert_to_tensor(a)
50
try:
51
a_np = convert_to_numpy(a)
@@ -52,7 +54,7 @@ def eigh(a):
52
54
"eigh is only supported for static eager tensors "
53
55
"in the openvino backend. Received a dynamic or symbolic tensor."
56
) from e
-
57
58
w, v = np.linalg.eigh(a_np)
59
return (
60
ov_opset.constant(w).output(0),
0 commit comments