Round

Description

Performs an element-wise rounding operation on the input tensor to the nearest integer.

Input

x: input tensor of type int32, float16, float, or double.

Output

y: output tensor of the identical data type and shape to the input.

Constraints

None

ONNX Opset Support

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