PRelu
Description
PRelu activation function. If the value in a tensor is greater than 0, the value is used. Otherwise, the product of the weight and value is used.

Input
- x: input tensor of type float16 or float.
- slope: input tensor of the identical data type as input x.
Output
y: output 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
Parent topic: Supported ONNX Operators