Table of Contents

Constructor OnnxSessionInfo

Namespace
Qavren.Edge.Onnx
Assembly
Qavren.Edge.Onnx.dll

OnnxSessionInfo(string, string, string, OnnxSessionSignature, ExecutionProviderReport, TimeSpan, DateTimeOffset, int, int, bool)

One session, as diagnostics and a consumer see it.

public OnnxSessionInfo(string ModelId, string GraphPath, string GraphSha256, OnnxSessionSignature Signature, ExecutionProviderReport ExecutionProviders, TimeSpan LoadDuration, DateTimeOffset LoadedAtUtc, int LoadCount, int ActiveLeases, bool IsLoaded)

Parameters

ModelId string

The registered model id.

GraphPath string

The absolute path ORT was handed.

GraphSha256 string

The graph's lowercase-hex digest.

Signature OnnxSessionSignature

What the graph declares.

ExecutionProviders ExecutionProviderReport

Every provider attempt, in order, and the one that was accepted.

LoadDuration TimeSpan

How long new InferenceSession plus validation took.

LoadedAtUtc DateTimeOffset

When the current session was created.

LoadCount int

How many times this model has been loaded in this process.

ActiveLeases int

How many leases are outstanding right now.

IsLoaded bool

False once the session has been dropped and not yet reloaded.