Sign

Description

Computes the sign of the input tensor element-wise.

Input

One input:

x: tensor of type float16 or float.

Output

One output:

y: tensor of the identical data type and shape as input x.

ONNX Opset Support

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