Abs

Description

Returns the absolute value of the input tensor.

Input

One input:

x: tensor of type float, float16, int8, int16, int32 or int64.

Output

One output:

y: tensor. Has an identical data type and shape to those of the input.

ONNX Opset Support

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