Table of Contents

Class InferenceEngineInfo

Namespace
InferenceEngine.Core.Diagnostics
Assembly
InferenceEngine.Core.dll

Immutable snapshot of a loaded inference engine's provider, platform, and diagnostic trail.

public sealed record InferenceEngineInfo : IEquatable<InferenceEngineInfo>
Inheritance
InferenceEngineInfo
Implements
Inherited Members

Properties

Checks

Ordered diagnostic trail of every check performed during provider selection.

public IReadOnlyList<ProviderDiagnosticCheck> Checks { get; init; }

Property Value

IReadOnlyList<ProviderDiagnosticCheck>

DeviceId

public int DeviceId { get; init; }

Property Value

int

Empty

public static InferenceEngineInfo Empty { get; }

Property Value

InferenceEngineInfo

FallbackReason

public InferenceFallbackReason FallbackReason { get; init; }

Property Value

InferenceFallbackReason

GpuAccelerationRequested

public bool GpuAccelerationRequested { get; init; }

Property Value

bool

IsFallback

True when a fall-back occurred (FallbackReason != None).

public bool IsFallback { get; init; }

Property Value

bool

ModelName

Model file name the engine loaded (e.g. "yolov8n-face.onnx"). Empty until loaded.

public string ModelName { get; init; }

Property Value

string

ModelPath

Absolute path the model was actually loaded from (consumer-supplied asset path or the registry's cache location). Empty until loaded.

public string ModelPath { get; init; }

Property Value

string

ModelSource

How ModelPath was determined.

public ModelSource ModelSource { get; init; }

Property Value

ModelSource

OnnxRuntimeVersion

Not populated in v1; always Empty.

public string OnnxRuntimeVersion { get; init; }

Property Value

string

Platform

public HostPlatform Platform { get; init; }

Property Value

HostPlatform

Provider

public InferenceProvider Provider { get; init; }

Property Value

InferenceProvider

ProviderOptions

Per-provider key/value options actually applied.

public IReadOnlyDictionary<string, string> ProviderOptions { get; init; }

Property Value

IReadOnlyDictionary<string, string>

SessionCreatedAt

public DateTimeOffset SessionCreatedAt { get; init; }

Property Value

DateTimeOffset