Table of Contents

Delegate TypedElementReductionKernel<TResult>

Namespace
NumSharp.Backends.Kernels
Assembly
NumSharp.dll

Delegate for typed element-wise reduction kernels. Returns the reduced value directly without boxing.

public delegate TResult TypedElementReductionKernel<TResult>(void* input, int* strides, int* shape, int ndim, int totalSize) where TResult : unmanaged

Parameters

input void*
Delegate for typed element-wise reduction kernels. Returns the reduced value directly without boxing.
strides int*
Delegate for typed element-wise reduction kernels. Returns the reduced value directly without boxing.
shape int*
Delegate for typed element-wise reduction kernels. Returns the reduced value directly without boxing.
ndim int
Delegate for typed element-wise reduction kernels. Returns the reduced value directly without boxing.
totalSize int
Delegate for typed element-wise reduction kernels. Returns the reduced value directly without boxing.

Returns

TResult
Delegate for typed element-wise reduction kernels. Returns the reduced value directly without boxing.

Type Parameters

TResult

Accumulator/result type

Extension Methods