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
DeviceId
public int DeviceId { get; init; }
Property Value
Empty
public static InferenceEngineInfo Empty { get; }
Property Value
FallbackReason
public InferenceFallbackReason FallbackReason { get; init; }
Property Value
GpuAccelerationRequested
public bool GpuAccelerationRequested { get; init; }
Property Value
IsFallback
True when a fall-back occurred (FallbackReason != None).
public bool IsFallback { get; init; }
Property Value
ModelName
Model file name the engine loaded (e.g. "yolov8n-face.onnx"). Empty until loaded.
public string ModelName { get; init; }
Property Value
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
ModelSource
How ModelPath was determined.
public ModelSource ModelSource { get; init; }
Property Value
OnnxRuntimeVersion
Not populated in v1; always Empty.
public string OnnxRuntimeVersion { get; init; }
Property Value
Platform
public HostPlatform Platform { get; init; }
Property Value
Provider
public InferenceProvider Provider { get; init; }
Property Value
ProviderOptions
Per-provider key/value options actually applied.
public IReadOnlyDictionary<string, string> ProviderOptions { get; init; }
Property Value
SessionCreatedAt
public DateTimeOffset SessionCreatedAt { get; init; }