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, long* strides, long* shape, int ndim, long totalSize)

Parameters

input void*

Pointer to input data

output void*

Pointer to output data

strides long*

Input strides (element units)

shape long*

Shape dimensions

ndim int

Number of dimensions

totalSize long

Total number of elements

Extension Methods