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 43e9a2e commit 86b4b40Copy full SHA for 86b4b40
keras/src/backend/openvino/core.py
@@ -249,6 +249,14 @@ def __pow__(self, other):
249
)
250
return OpenVINOKerasTensor(ov_opset.power(first, other).output(0))
251
252
+ def __rpow__(self, other):
253
+ other = get_ov_output(other)
254
+ first = self.output
255
+ first, other = align_operand_types(
256
+ first, other, "OpenVINOKerasTensor::__rpow__"
257
+ )
258
+ return OpenVINOKerasTensor(ov_opset.power(other, first).output(0))
259
+
260
def __getitem__(self, indices):
261
# now it has limited functionaly
262
# and supports only a case with one integer index in indices
0 commit comments