Struct CumulativeKernelKey
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
InputTypeNPTypeCodeOutputTypeNPTypeCodeOpReductionOpIsContiguousbool
Properties
InputType
public NPTypeCode InputType { get; init; }
Property Value
IsContiguous
public bool IsContiguous { get; init; }
Property Value
IsSameType
public bool IsSameType { get; }
Property Value
Op
public ReductionOp Op { get; init; }
Property Value
OutputType
public NPTypeCode OutputType { get; init; }
Property Value
Methods
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.