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 74d26de commit 0dc49fbCopy full SHA for 0dc49fb
keras/src/backend/openvino/core.py
@@ -110,6 +110,13 @@ def get_ov_output(x, ov_type=None):
110
x = ov_opset.constant(x, OPENVINO_DTYPES["bfloat16"]).output(0)
111
else:
112
x = ov_opset.constant(x).output(0)
113
+ elif isinstance(x, (list, tuple)):
114
+ if isinstance(x, tuple):
115
+ x = list(x)
116
+ if ov_type is None:
117
+ x = ov_opset.constant(x).output(0)
118
+ else:
119
+ x = ov_opset.constant(x, ov_type).output(0)
120
elif np.isscalar(x):
121
122
elif isinstance(x, KerasVariable):
0 commit comments