:nosearch: .. _op_ai_onnx_PRelu-7: PRelu - version 7 ================= This page documents version **7** of operator **PRelu**. See :doc:`PRelu` for the latest version (since version 16). - **Domain**: ``ai.onnx`` - **Since version**: 7 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. The shape of slope can be smaller than first input X; if so, its shape must be unidirectional broadcastable to X **Outputs** - **Y** (*T*): Output tensor (same size as X) **Type Constraints** - **T**: Constrain input and output types to float tensors. Allowed types: tensor(double), tensor(float), tensor(float16). Differences with previous version (6) ------------------------------------- **SchemaDiff**: ``PRelu`` (domain ``'ai.onnx'``) * old version: 6 * new version: 7 * breaking: no