-api-id | -api-type |
---|---|
M:Windows.AI.MachineLearning.LearningModel.LoadFromStorageFileAsync(Windows.Storage.IStorageFile,Windows.AI.MachineLearning.ILearningModelOperatorProvider) |
winrt method |
Loads an ONNX model from an IStorageFile asynchronously.
The location of the model file.
A LearningModel based on the model file.
To use this API on Windows Server, you must use Windows Server 2019 with Desktop Experience.
This API is thread-safe.