Delegate TypedAxisReductionKernel<T>
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
inputT*Pointer to input data
outputT*Pointer to output data
outerSizeintProduct of dimensions before the reduction axis
axisSizeintSize of the axis being reduced
innerSizeintProduct of dimensions after the reduction axis
Type Parameters
TElement type
- Extension Methods