Greater

Description

Compares the sizes of input tensors A and B element-wise. If the value of A is greater than that of B, true is returned for the corresponding position.

Input

  • A: input tensor of type float16, float, int32, int8, or uint8.
  • B: input tensor of type float16, float, int32, int8, or uint8.

Output

y: output tensor of type bool.

Constraints

None.

ONNX Opset Support

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