Table of Contents

Struct HalfMinMaxAccumulator

Namespace
NumSharp.Backends.Iteration
Assembly
NumSharp.dll

Min/Max accumulator for Half: running extremum (held in double, the precision the codebase's f16 reductions already use), a "seen any value" flag for the empty/first-element guard, and a NaN flag. Any NaN ⇒ result NaN (NumPy: min/max with NaN propagates), so the kernel aborts on the first NaN it sees.

public struct HalfMinMaxAccumulator
Inherited Members
Extension Methods

Fields

Best

public double Best

Field Value

double

SawNaN

public bool SawNaN

Field Value

bool

Seen

public bool Seen

Field Value

bool