Skip to content

Main content

Swish Beta Partial Derivative Tool

Differentiate x*sigmoid(beta*x) with respect to beta, allowing zero and negative beta.

Loading tool…

Description

Return zero before squaring when s rounds to zero or one.

Swish multiplies its input by sigmoid(beta*x). Differentiating input x and differentiating the shape parameter beta produce different sensitivities. At beta zero the value becomes a linear half-input, without requiring a neural-network evaluation.

Return zero before squaring when s rounds to zero or one.

When to use this tool

Use Swish Beta Partial Derivative when checking the stated Swish limit or scalar partial derivative convention.

How to use the tool and how it works

  1. Enter x, beta. 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 derivative. Use the output convention below.

Require beta*x finite, set s=sigmoid(beta*x), and return x²*s*(1-s) as the beta partial derivative. Return zero before squaring when s rounds to zero or one.1

Swish combines its input with a beta-scaled sigmoid gate. This scalar helper evaluates the stated limit or derivative, rather than establishing training performance or a preferred beta.2

Input fieldMeaning and unitsAccepted input
xFinite scalar input coordinate; use the mathematical scale specified above.Required. Finite number.
betaSupplied scalar shape parameter under the explicitly stated function convention.Required. Finite number.
Output fieldInterpretationReturned shape
derivativeScalar derivative with respect to the variable and at the fixed coordinates specified above; not a tensor/model gradient.Required. Finite number.
json
{
  "input": {
    "x": 2,
    "beta": 0
  },
  "output": {
    "derivative": 1
  }
}

Limitations and assumptions

  • This differentiates beta at fixed x; numerical saturation is handled explicitly and is not a mathematical claim of an exactly zero tail.
  • 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/swish-beta-partial-derivative — tool.io

  2. Searching for Activation Functions — Prajit Ramachandran, Barret Zoph and Quoc V. Le

Similar or alternative tools