Table of Contents

Class HybridCompilationResult<T>

Namespace
AiDotNet.JitCompiler
Assembly
AiDotNet.dll

Result of compiling with unsupported operation handling.

public class HybridCompilationResult<T>

Type Parameters

T

The numeric type for tensor elements.

Inheritance
HybridCompilationResult<T>
Inherited Members

Remarks

For Beginners: When you use CompileWithUnsupportedHandling, you get this result. It tells you: - The compiled function (always usable) - Whether it's fully JIT compiled or uses fallback - Compatibility details - Any warnings about unsupported operations

Properties

Compatibility

Gets or sets the compatibility analysis results.

public JitCompatibilityResult Compatibility { get; set; }

Property Value

JitCompatibilityResult

CompiledFunc

Gets or sets the compiled function. This function is always usable regardless of execution mode.

public Func<Tensor<T>[], Tensor<T>[]> CompiledFunc { get; set; }

Property Value

Func<Tensor<T>[], Tensor<T>[]>

ExecutionMode

Gets or sets the execution mode: "JIT", "Interpreted", "Hybrid", or "JIT (skipped ops)".

public string ExecutionMode { get; set; }

Property Value

string

IsFullyJitCompiled

Gets or sets whether the function was fully JIT compiled. If false, some or all operations use interpreted execution.

public bool IsFullyJitCompiled { get; set; }

Property Value

bool

Warnings

Gets or sets any warnings generated during compilation.

public List<string> Warnings { get; set; }

Property Value

List<string>

Methods

ToString()

Returns a summary of the compilation result.

public override string ToString()

Returns

string