LearningModelPreview.LoadModelFromStreamAsync(IRandomAccessStreamReference) LearningModelPreview.LoadModelFromStreamAsync(IRandomAccessStreamReference) LearningModelPreview.LoadModelFromStreamAsync(IRandomAccessStreamReference) LearningModelPreview.LoadModelFromStreamAsync(IRandomAccessStreamReference) LearningModelPreview.LoadModelFromStreamAsync(IRandomAccessStreamReference) Method

Definition

Asynchronously loads a model from a provided stream.

public : static IAsyncOperation<ILearningModelPreview> LoadModelFromStreamAsync(IRandomAccessStreamReference modelStream)
static IAsyncOperation<ILearningModelPreview> LoadModelFromStreamAsync(IRandomAccessStreamReference modelStream) const;
public static IAsyncOperation<ILearningModelPreview> LoadModelFromStreamAsync(IRandomAccessStreamReference modelStream)
Public Shared Function LoadModelFromStreamAsync(modelStream As IRandomAccessStreamReference) As IAsyncOperation(Of ILearningModelPreview)
Windows.AI.MachineLearning.Preview.LearningModelPreview.loadModelFromStreamAsync(modelStream).done( /* Your success and error handlers */ );
Parameters
Returns

Remarks

Note

Windows.AI.MachineLearning.Preview is a preview API and may be substantially modified before it’s officially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.