Table of Contents

Struct NDMaxAxisKernel<T>

Namespace
NumSharp.Backends.Iteration
Assembly
NumSharp.dll

Max reduction kernel for axis operations.

public readonly struct NDMaxAxisKernel<T> : INDAxisNumericReductionKernel<T> where T : unmanaged, IComparisonOperators<T, T, bool>, IMinMaxValue<T>

Type Parameters

T
Implements
Inherited Members
Extension Methods

Methods

Execute(T*, long, long)

Execute the reduction along the axis.

public static T Execute(T* src, long srcStride, long length)

Parameters

src T*

Source pointer at base position

srcStride long

Stride along the reduction axis

length long

Length of the reduction axis

Returns

T

Reduced value