Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 924 Bytes

learningmodel_loadfromstoragefileasync_1601106297.md

File metadata and controls

35 lines (23 loc) · 924 Bytes
-api-id -api-type
M:Windows.AI.MachineLearning.LearningModel.LoadFromStorageFileAsync(Windows.Storage.IStorageFile,Windows.AI.MachineLearning.ILearningModelOperatorProvider)
winrt method

Windows.AI.MachineLearning.LearningModel.LoadFromStorageFileAsync

-description

Loads an ONNX model from an IStorageFile asynchronously.

-parameters

-param modelFile

The location of the model file.

-param operatorProvider

-returns

A LearningModel based on the model file.

-remarks

Windows Server

To use this API on Windows Server, you must use Windows Server 2019 with Desktop Experience.

Thread safety

This API is thread-safe.

-see-also

-examples