Class ov::op::v1::Power#

class Power : public ov::op::util::BinaryElementwiseArithmetic#

Elementwise exponentiation operation.

Inputs

Type

Description

arg0

\(N[d_1,\dots,d_n]~(n \geq 0)\)

A tensor of any shape and numeric element type.

arg1

\(N[d_1,\dots,d_n]~(n \geq 0)\)

A tensor of the same shape and element type as arg0.

Type

Description

\(N[d_1,\dots,d_n]\)

The tensor \(T\), where \(T[i_1,\dots,i_n] = \texttt{arg0}[i_1,\dots,i_n]^{\texttt{arg1}[i_1,\dots,i_n]}\)

Public Functions

Power(const Output<Node> &arg0, const Output<Node> &arg1, const AutoBroadcastSpec &auto_broadcast = AutoBroadcastSpec(AutoBroadcastType::NUMPY))#

Constructs an exponentiation operation.

Parameters:
  • arg0Node that produces the first input tensor.

  • arg1Node that produces the second input tensor.

  • auto_broadcast – Auto broadcast specification

virtual bool has_evaluate() const override#

Allows to get information about availability of evaluate method for the current operation.