Table of Contents

Delegate TypedAxisReductionKernel<T>

Namespace
NumSharp.Backends.Kernels
Assembly
NumSharp.dll

Typed axis reduction kernel with generic element type. Reduces along a specific axis with strongly-typed pointers.

public delegate void TypedAxisReductionKernel<T>(T* input, T* output, int outerSize, int axisSize, int innerSize) where T : unmanaged

Parameters

input T*

Pointer to input data

output T*

Pointer to output data

outerSize int

Product of dimensions before the reduction axis

axisSize int

Size of the axis being reduced

innerSize int

Product of dimensions after the reduction axis

Type Parameters

T

Element type

Extension Methods