Table of Contents

Class VectorizedUnaryOp

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

Vectorized unary operation (Negate, Exp, Log, Sqrt, ReLU, etc.).

public class VectorizedUnaryOp : IROp
Inheritance
VectorizedUnaryOp
Inherited Members

Properties

NumVectors

Gets or sets the number of full vectors to process.

public int NumVectors { get; set; }

Property Value

int

Operation

Gets or sets the operation type.

public VectorizedUnaryOpType Operation { get; set; }

Property Value

VectorizedUnaryOpType

Remainder

Gets or sets the number of remaining scalar elements.

public int Remainder { get; set; }

Property Value

int

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