Equal

Description

Compares two input tensors and returns a bool value indicating whether they have the same size and elements.

Input

  • A: input tensor of type float16, float, int32, int8, uint8, bool, double, int64, int16, uint16, uint32 or uint64. The data format can be ND.
  • B: input tensor of the identical data type and shape as input A.

Output

y: output tensor of type bool.

Constraints

None.

ONNX Opset Support

Opset v8/v9/v10/v11/v12/v13/v14/v15/v16/v17/v18