Constructor ProvisionedModel
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
ModelIdstringThe manifest's model id.
Directorystring<Models>/<modelId>/<sha16>.GraphPathstringThe absolute path ORT is handed.
GraphSha256stringThe graph's lowercase-hex digest; the CoreML cache key is built from it.
FilesIReadOnlyDictionary<string, string>Manifest-relative path to absolute path, for every file in the manifest.
SourceModelProvisioningSourceWhere the bytes came from.
DurationTimeSpanHow long provisioning took.