CodegenExpr
Models & Types · AiDotNet.Tensors.Engines.Compilation.Codegen.Ir
No summary documentation available yet.
Properties
| Property | Summary |
|---|---|
CodegenExpr Left { get; } |
|
CodegenExpr Right { get; } |
|
CodegenExprKind Kind { get; } |
|
CodegenLibraryFunction Function { get; } |
|
IReadOnlyList<CodegenExpr> Arguments { get; } |
|
double Value { get; } |
|
int Input { get; } |
Methods
| Method | Summary |
|---|---|
CodegenExpr Add(CodegenExpr a, CodegenExpr b) |
|
CodegenExpr Call(CodegenLibraryFunction function, CodegenExpr[] arguments) |
|
CodegenExpr Constant(double value) |
|
CodegenExpr Multiply(CodegenExpr a, CodegenExpr b) |
|
CodegenExpr Negate(CodegenExpr a) |
|
CodegenExpr Operand(int input) |
|
CodegenExpr Product(CodegenExpr[] factors) |
|
CodegenExpr Remap(Func<int, int> map) |
|
CodegenExpr Scalar(int index) |
|
CodegenExpr Subtract(CodegenExpr a, CodegenExpr b) |
|
IReadOnlyList<CodegenLibraryFunction> Calls() |
|
double Evaluate(Func<int, double> operand) |
|
double Evaluate(Func<int, double> operand, Func<int, double> scalar) |
|
int ScalarCount() |
|
int[] Operands() |
|
string Lower(Func<int, string> operand, Func<double, string> constant, Func<string, string, string, string> op) |
|
string Lower(Func<int, string> operand, Func<double, string> constant, Func<string, string, string, string> op, Func<CodegenLibraryFunction, string[], string> call, Func<int, string> scalar) |
|
string ToString() |