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
Operation
Gets or sets the operation type.
public VectorizedUnaryOpType Operation { get; set; }
Property Value
Remainder
Gets or sets the number of remaining scalar elements.
public int Remainder { get; set; }
Property Value
VectorWidth
Gets or sets the vector width.
public int VectorWidth { get; set; }
Property Value
Methods
ToString()
Returns a string representation.
public override string ToString()
Returns
Validate()
Validates the operation.
public override bool Validate()