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.
2 parents 094492a + f3a2468 commit 5482baeCopy full SHA for 5482bae
keras/src/backend/openvino/numpy.py
@@ -1867,6 +1867,8 @@ def transpose(x, axes=None):
1867
rank_minus_one, const_minus_one, const_minus_one, "i64"
1868
).output(0)
1869
else:
1870
+ if isinstance(axes, tuple):
1871
+ axes = list(axes)
1872
axes = ov_opset.constant(axes, Type.i32).output(0)
1873
return OpenVINOKerasTensor(ov_opset.transpose(x, axes).output(0))
1874
0 commit comments