Table of Contents

Class VectorizedReductionOp

Namespace
AiDotNet.JitCompiler.IR.Operations
Assembly
AiDotNet.dll

Vectorized reduction operation (Sum, Mean, Max).

public class VectorizedReductionOp : IROp
Inheritance
VectorizedReductionOp
Inherited Members

Properties

Axes

Gets or sets the axes to reduce over.

public int[]? Axes { get; set; }

Property Value

int[]

KeepDims

Gets or sets whether to keep reduced dimensions.

public bool KeepDims { get; set; }

Property Value

bool

ReductionType

Gets or sets the reduction type.

public VectorizedReductionType ReductionType { get; set; }

Property Value

VectorizedReductionType

VectorWidth

Gets or sets the vector width.

public int VectorWidth { get; set; }

Property Value

int

Methods

ToString()

Returns a string representation.

public override string ToString()

Returns

string

Validate()

Validates the operation.

public override bool Validate()

Returns

bool