Table of Contents

Constructor ProvisionedModel

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

ProvisionedModel(string, string, string, string, IReadOnlyDictionary<string, string>, ModelProvisioningSource, TimeSpan)

A model that is on disk, verified and ready to hand to ORT.

public ProvisionedModel(string ModelId, string Directory, string GraphPath, string GraphSha256, IReadOnlyDictionary<string, string> Files, ModelProvisioningSource Source, TimeSpan Duration)

Parameters

ModelId string

The manifest's model id.

Directory string

<Models>/<modelId>/<sha16>.

GraphPath string

The absolute path ORT is handed.

GraphSha256 string

The graph's lowercase-hex digest; the CoreML cache key is built from it.

Files IReadOnlyDictionary<string, string>

Manifest-relative path to absolute path, for every file in the manifest.

Source ModelProvisioningSource

Where the bytes came from.

Duration TimeSpan

How long provisioning took.