:nosearch: .. _op_ai_onnx_PRelu-9: PRelu - version 9 ================= This page documents version **9** of operator **PRelu**. See :doc:`PRelu` for the latest version (since version 16). - **Domain**: ``ai.onnx`` - **Since version**: 9 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/int tensors. Allowed types: tensor(double), tensor(float), tensor(float16), tensor(int32), tensor(int64), tensor(uint32), tensor(uint64). Differences with previous version (7) ------------------------------------- **SchemaDiff**: ``PRelu`` (domain ``'ai.onnx'``) * old version: 7 * new version: 9 * breaking: no **Type constraints:** * changed 'T': added types: ['tensor(int32)', 'tensor(int64)', 'tensor(uint32)', 'tensor(uint64)']