Table of Contents

Struct CumulativeAxisKernelKey

Namespace
NumSharp.Backends.Kernels
Assembly
NumSharp.dll

Cache key for cumulative axis reduction kernels (cumsum along axis, etc.). Output has same shape as input, cumulative accumulation along specified axis.

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

Constructors

CumulativeAxisKernelKey(NPTypeCode, NPTypeCode, ReductionOp, bool)

Cache key for cumulative axis reduction kernels (cumsum along axis, etc.). Output has same shape as input, cumulative accumulation along specified axis.

public CumulativeAxisKernelKey(NPTypeCode InputType, NPTypeCode OutputType, ReductionOp Op, bool InnerAxisContiguous)

Parameters

InputType NPTypeCode
OutputType NPTypeCode
Op ReductionOp
InnerAxisContiguous bool

Properties

InnerAxisContiguous

public bool InnerAxisContiguous { get; init; }

Property Value

bool

InputType

public NPTypeCode InputType { get; init; }

Property Value

NPTypeCode

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.