Mod

Description

Performs element-wise modulo (with NumPy-style broadcasting supported). The sign of the remainder is the same as that of the divisor.

Input

  • x: input tensor of type float16, float, int32, int8, or uint8.
  • divisor: input tensor of type float16, float, int32, int8, or uint8.

Output

y: output tensor of type float16, float, int32, int8, or uint8.

Constraints

None.

ONNX Opset Support

Opset v10/v11/v12/v13/v14/v15/v16/v17/v18.