Skip to content

Main content

Activation: Maxout Two Value Tie Mask Tool

Return maxout value and both active-branch flags, retaining ties rather than choosing a false unique gradient.

Loading tool…

Description

Return max(left,right), leftActive when left>=right and rightActive when right>=left.

A two-value maxout operation chooses the larger input. When both inputs are equal, both attain the maximum; identifying that tie does not choose how an autodifferentiation system should distribute a gradient.

Return max(left,right), leftActive when left>=right and rightActive when right>=left.

When to use this tool

Use Activation: Maxout Two Value Tie Mask when checking the stated two-input maximum and tie convention.

How to use the tool and how it works

  1. Enter left, right. 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.

Return max(left,right), leftActive when left>=right and rightActive when right>=left. tie means exact equality, so both activity flags are true on a tie.1

Input fieldMeaning and unitsAccepted input
leftLeftRequired. Finite number.
rightRightRequired. Finite number.
Output fieldInterpretationReturned shape
resultObject containing the operation-specific returned members listed below.Required. Object.
result.maximumMaximumCalculated result member: number.
result.leftActiveLeft ActiveCalculated result member: boolean.
result.rightActiveRight ActiveCalculated result member: boolean.
result.tieExact equality; both activity flags are true on a tie without allocating gradient weights.Calculated result member: boolean.
json
{
  "input": {
    "left": 2,
    "right": 2
  },
  "output": {
    "result": {
      "maximum": 2,
      "leftActive": true,
      "rightActive": true,
      "tie": true
    }
  }
}

Limitations and assumptions

  • Activity flags do not choose a unique derivative, split gradient weight or apply an approximate tie tolerance.
  • 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/maxout-two-value-tie-mask — tool.io

Similar or alternative tools