CodegenKernelSpec
Models & Types · AiDotNet.Tensors.Engines.Compilation.Codegen.Ir
No summary documentation available yet.
Constructors
| Constructor |
Summary |
CodegenKernelSpec(string name, CodegenIterationSpace space, CodegenTensorBinding[] inputs, CodegenTensorBinding output, int[] productInputs, CodegenReduceKind reduce, int? biasInput, int? scaleInput, CodegenActivationKind activation, double reduceScale, CodegenPreReduceOp preReduce, int? preBiasInput, double preBiasScale, CodegenAlgebra algebra, CodegenExtraOutput[] extraOutputs, CodegenTensorBinding secondaryOutput, CodegenAffineExpr secondaryIndexExpr, double reduceOffset, int? postScaleInput, int? postBiasInput, CodegenExpr body, CodegenReductionRange reductionRange) |
|
Properties
| Property |
Summary |
CodegenActivationKind Activation { get; } |
|
CodegenAffineExpr SecondaryIndexExpr { get; } |
|
CodegenAlgebra Algebra { get; } |
|
CodegenExpr Body { get; } |
|
CodegenIterationSpace Space { get; } |
|
CodegenPreReduceOp PreReduce { get; } |
|
CodegenReduceKind Reduce { get; } |
|
CodegenReductionRange ReductionRange { get; } |
|
CodegenTensorBinding Output { get; } |
|
CodegenTensorBinding SecondaryOutput { get; } |
|
IReadOnlyList<CodegenExtraOutput> ExtraOutputs { get; } |
|
IReadOnlyList<CodegenTensorBinding> Inputs { get; } |
|
IReadOnlyList<int> ProductInputs { get; } |
|
bool HasDoubles { get; } |
|
bool HasExpressionBody { get; } |
|
bool HasExtendedEpilogue { get; } |
|
bool HasIntegerValues { get; } |
|
bool SecondaryIndexAsFloat { get; } |
|
double PreBiasScale { get; } |
|
double ReduceOffset { get; } |
|
double ReduceScale { get; } |
|
int ParameterCount { get; } |
|
int SecondaryNoWinnerIndex { get; } |
|
int? BiasInput { get; } |
|
int? PostBiasInput { get; } |
|
int? PostScaleInput { get; } |
|
int? PreBiasInput { get; } |
|
int? ScaleInput { get; } |
|
string Name { get; } |
|
Methods
| Method |
Summary |
CodegenKernelSpec DepthwiseConv2D3x3BiasRelu(int batch, int channels, int height, int width) |
|
double ApplyActivation(CodegenActivationKind kind, double x) |
|
double[] Interpret(IReadOnlyList<double[]> inputData) |
|
double[] Interpret(IReadOnlyList<double[]> inputData, double[] secondary) |
|
double[] Interpret(IReadOnlyList<double[]> inputData, double[] secondary, double[][] extraData) |
|
double[][] InterpretAll(IReadOnlyList<double[]> inputData) |
|
string Describe() |
|