Table of Contents

Delegate CumulativeKernel

Namespace
NumSharp.Backends.Kernels
Assembly
NumSharp.dll

Delegate for cumulative reduction kernels (cumsum, etc.). Output has same shape as input.

public delegate void CumulativeKernel(void* input, void* output, int* strides, int* shape, int ndim, int totalSize)

Parameters

input void*

Pointer to input data

output void*

Pointer to output data

strides int*

Input strides (element units)

shape int*

Shape dimensions

ndim int

Number of dimensions

totalSize int

Total number of elements

Extension Methods