My Cart
Your Cart 0

    Your cart is empty.

  • Total (Amount) ₹0.00
Industries · Interactive tool

ELU, LeakyReLU and PReLU

Evaluate a scalar activation, invert its input or determine its entered slope parameter.

Your inputs

Result

Calculated output

Enter inputs to calculate.

ELU: y=x for x≥0; y=a(exp(x)−1) for x<0. LeakyReLU and PReLU: y=x for x≥0; y=ax for x<0. All quantities are dimensionless. PReLU uses an entered learned slope; this calculator does not train a model.

For x<0: ELU inverse x=ln(1+y/a) where 0<1+y/a<1; linear-branch inverse x=y/a where y/a<0. A nonnegative solution x=y also exists when y≥0. Every finite branch solution is returned; negative a can give two inputs for one output.

At a=0 and y=0, every x≤0 is a solution. For x≥0 and y=x, parameter a is not identifiable. For x<0, a=y/(exp(x)−1) in ELU or a=y/x for the linear negative branch. ELU approaches −a as x tends to negative infinity; that asymptote is not a finite inverse.