PRelu

Description

PRelu activation function.

Input

Two inputs:

x: tensor of type float16 or float.

slope: tensor of the identical data type as input x.

Output

One output:

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

Constraints

The slope must be 1-dimensional. When the shape of the input x is 1-dimensional, the dimension of the slope must be 1. When the shape of the input x is not 1-dimensional, the dimension of the slope can be 1 or shape[1] of the input x.

ONNX Opset Support

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