Skip to content

Commit df36b8e

Browse files
authored
Add NotImplementedError for angle & bartlett on openvino (#21246)
1 parent f5171b3 commit df36b8e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

keras/src/backend/openvino/numpy.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,10 @@ def all(x, axis=None, keepdims=False):
142142
)
143143

144144

145+
def angle(x):
146+
raise NotImplementedError("`angle` is not supported with openvino backend")
147+
148+
145149
def any(x, axis=None, keepdims=False):
146150
x = get_ov_output(x)
147151
if axis is None:
@@ -464,6 +468,12 @@ def average(x, axis=None, weights=None):
464468
return OpenVINOKerasTensor(mean_ops.output(0))
465469

466470

471+
def bartlett(x):
472+
raise NotImplementedError(
473+
"`bartlett` is not supported with openvino backend"
474+
)
475+
476+
467477
def bincount(x, weights=None, minlength=0, sparse=False):
468478
if x is None:
469479
raise ValueError("input x is None")

0 commit comments

Comments
 (0)