Equal

Description

Checks whether the positions of two input tensors are the same.

Input

Two inputs:

X1: tensor of type float16, float, or double.

X2: tensor of type float16, float, or double.

Output

One output:

y: tensor of type bool.

Constraints

X1 and X2 have the same data type and format.

ONNX Opset Support

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