.. _op_ai_onnx_Elu: Elu === - **Domain**: ``ai.onnx`` - **Since version**: 22 Elu takes one input data (Tensor ) and produces one output data (Tensor ) where the function ``f(x) = alpha * (exp(x) - 1.) for x = 0``., is applied to the tensor elementwise. **Inputs** - **X** (*T*): Input tensor **Outputs** - **Y** (*T*): Output tensor **Attributes** - **alpha** (*float*): Coefficient of ELU. **Type Constraints** - **T**: Constrain input and output types to float tensors. Allowed types: tensor(bfloat16), tensor(double), tensor(float), tensor(float16). Differences with previous version (6) ------------------------------------- **SchemaDiff**: ``Elu`` (domain ``'ai.onnx'``) * old version: 6 * new version: 22 * breaking: no **Type constraints:** * changed 'T': added types: ['tensor(bfloat16)'] Version History --------------- - :doc:`Version 6 ` - :doc:`Version 1 `