Constructor OnnxSessionInfo
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
ModelIdstringThe registered model id.
GraphPathstringThe absolute path ORT was handed.
GraphSha256stringThe graph's lowercase-hex digest.
SignatureOnnxSessionSignatureWhat the graph declares.
ExecutionProvidersExecutionProviderReportEvery provider attempt, in order, and the one that was accepted.
LoadDurationTimeSpanHow long
new InferenceSessionplus validation took.LoadedAtUtcDateTimeOffsetWhen the current session was created.
LoadCountintHow many times this model has been loaded in this process.
ActiveLeasesintHow many leases are outstanding right now.
IsLoadedboolFalse once the session has been dropped and not yet reloaded.