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

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

Elementwise is-equal operation.

Inputs

Type

Description

arg0

E[d1,,dn] (n0)

A tensor of any shape and element type.

arg1

E[d1,,dn] (n0)

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

autob

AutoBroadcastSpec

Auto broadcast specification.

Type

Description

bool[d1,,dn]

The tensor T, where T[i1,,in]=1 if arg0[i1,,in]=arg1[i1,,in], 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.