Table of Contents

Struct CumulativeKernelKey

Namespace
NumSharp.Backends.Kernels
Assembly
NumSharp.dll

Cache key for cumulative reduction kernels (cumsum, etc.). Output has same shape as input, each element is accumulation of elements before it.

public readonly record struct CumulativeKernelKey : IEquatable<CumulativeKernelKey>
Implements
Inherited Members
Extension Methods

Constructors

CumulativeKernelKey(NPTypeCode, NPTypeCode, ReductionOp, bool)

Cache key for cumulative reduction kernels (cumsum, etc.). Output has same shape as input, each element is accumulation of elements before it.

public CumulativeKernelKey(NPTypeCode InputType, NPTypeCode OutputType, ReductionOp Op, bool IsContiguous)

Parameters

InputType NPTypeCode
OutputType NPTypeCode
Op ReductionOp
IsContiguous bool

Properties

InputType

public NPTypeCode InputType { get; init; }

Property Value

NPTypeCode

IsContiguous

public bool IsContiguous { get; init; }

Property Value

bool

IsSameType

public bool IsSameType { get; }

Property Value

bool

Op

public ReductionOp Op { get; init; }

Property Value

ReductionOp

OutputType

public NPTypeCode OutputType { get; init; }

Property Value

NPTypeCode

Methods

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.