Skip to content

Main content

Activation: Elu Scalar Derivative Tool

Evaluate one ELU derivative with explicit positive alpha and left/right convention at zero; does not assert differentiability when slopes differ.

Loading tool…

Description

Return one for x>0, alpha*exp(x) for x<0 and the chosen one-sided value alpha or one at zero.

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 one for x>0, alpha*exp(x) for x<0 and the chosen one-sided value alpha or one at zero.

When to use this tool

Use Activation: Elu Scalar Derivative when checking the stated ELU inverse, curvature or partial derivative convention.

How to use the tool and how it works

  1. Enter x, alpha, zeroSide. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read result. Expand result to inspect the returned fields.

Require alpha>0 and zeroSide left or right. Return one for x>0, alpha*exp(x) for x<0 and the chosen one-sided value alpha or one at zero.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 fieldMeaning and unitsAccepted input
xFinite scalar input coordinate; use the mathematical scale specified above.Required. Finite number.
alphaPositive shape parameter when required by the function convention above.Required. Finite number.
zeroSideOne-sided input-derivative choice at zero, left=alpha and right=1.Required. Text; one of "left", "right". Implementation limit: 8192 Unicode code points and 16384 UTF-16 code units.
Output fieldInterpretationReturned shape
resultObject containing the operation-specific returned members listed below.Required. Object.
result.derivativeScalar derivative with respect to the variable and at the fixed coordinates specified above; not a tensor/model gradient.Calculated result member: number.
json
{
  "input": {
    "x": 0,
    "alpha": 2,
    "zeroSide": "left"
  },
  "output": {
    "result": {
      "derivative": 2
    }
  }
}

Limitations and assumptions

  • The two-sided derivative at zero exists only when alpha=1; selecting a side does not remove a mathematical kink.
  • Outputs are nested inside result. 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

  1. Calculation and input contract: activation/elu-scalar-derivative — tool.io

  2. Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs) — Djork-Arné Clevert, Thomas Unterthiner and Sepp Hochreiter

Similar or alternative tools