PRelu - version 1#

This page documents version 1 of operator PRelu. See PRelu for the latest version (since version 16).

  • Domain: ai.onnx

  • Since version: 1

PRelu takes input data (Tensor ) and slope tensor as input, and produces one output data (Tensor ) where the function f(x) = slope * x for x  = 0., is applied to the data tensor elementwise.

Inputs

  • X (T): Input tensor

  • slope (T): Slope tensor. If Slope is of size 1, the value is sharedacross different channels

Outputs

  • Y (T): Output tensor

Attributes

  • consumed_inputs (int[]): legacy optimization attribute.

Type Constraints

  • T: Constrain input and output types to float tensors. Allowed types: tensor(double), tensor(float), tensor(float16).