Class ov::op::v1::Equal#

class Equal : public ov::op::util::BinaryElementwiseComparison#

Elementwise is-equal operation.

Inputs

Type

Description

arg0

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

A tensor of any shape and element type.

arg1

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

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

autob

AutoBroadcastSpec

Auto broadcast specification.

Type

Description

\(\texttt{bool}[d_1,\dots,d_n]\)

The tensor \(T\), where \(T[i_1,\dots,i_n] = 1\text{ if }\texttt{arg0}[i_1,\dots,i_n] = \texttt{arg1}[i_1,\dots,i_n]\text{, else } 0\)

Public Functions

inline Equal()#

Constructs an equal operation.

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

Constructs an equal 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.