Skip to content

Commit d8a36fa

Browse files
committed
formatting fix
1 parent 5370493 commit d8a36fa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

keras/src/backend/openvino/linalg.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ def eig(a):
4343

4444
def eigh(a):
4545
import numpy as np
46+
4647
from keras.src.backend.openvino.core import convert_to_numpy
48+
4749
a = convert_to_tensor(a)
4850
try:
4951
a_np = convert_to_numpy(a)
@@ -52,7 +54,7 @@ def eigh(a):
5254
"eigh is only supported for static eager tensors "
5355
"in the openvino backend. Received a dynamic or symbolic tensor."
5456
) from e
55-
57+
5658
w, v = np.linalg.eigh(a_np)
5759
return (
5860
ov_opset.constant(w).output(0),

0 commit comments

Comments
 (0)