Description
Return expm1(x) for x<0 and zero otherwise, the partial derivative of ELU with respect to alpha at fixed x.
ELU uses x on the nonnegative branch and alpha*(exp(x)-1) on the negative branch. Its negative asymptote is -alpha for positive alpha. Input derivatives, alpha partial derivatives and one-sided join conventions answer different mathematical questions.
Return expm1(x) for x<0 and zero otherwise, the partial derivative of ELU with respect to alpha at fixed x.
When to use this tool
Use ELU Alpha Partial Derivative when checking the stated ELU inverse, curvature or partial derivative convention.
How to use the tool and how it works
- Enter x. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read derivative. Use the output convention below.
Return expm1(x) for x<0 and zero otherwise, the partial derivative of ELU with respect to alpha at fixed x.1
ELU has a linear positive branch and an alpha-scaled exponential negative branch. The local derivative, inverse and join conventions above do not imply a particular network’s behavior.2
| Input field | Meaning and units | Accepted input |
|---|---|---|
| x | Finite scalar input coordinate; use the mathematical scale specified above. | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| derivative | Scalar derivative with respect to the variable and at the fixed coordinates specified above; not a tensor/model gradient. | Required. Finite number. |
{
"input": {
"x": -0.6931471805599453
},
"output": {
"derivative": -0.5
}
} Limitations and assumptions
- Alpha need not be supplied because this partial is independent of it; no input derivative or parameter update is computed.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use the complete explicit function and the intended parameter, branch and numerical conventions for symbolic, tensor or model-level differentiation; assess training behavior independently.
References
-
Calculation and input contract: activation/elu-alpha-partial-derivative — tool.io
-
Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs) — Djork-Arné Clevert, Thomas Unterthiner and Sepp Hochreiter
Similar or alternative tools
- Activation: Elu Scalar Derivative
Return one for x>0, alpha*exp(x) for x<0 and the chosen one-sided value alpha or one at zero.
- ELU Negative Curvature
Return alpha*exp(x) for x<0 and zero for x>=0 as the negative-branch curvature term.