Freigeben über


LearningModelPreview.LoadModelFromStreamAsync Methode

Definition

Veraltet. Lädt ein Modell asynchron aus einem bereitgestellten Stream.

public:
 static IAsyncOperation<LearningModelPreview ^> ^ LoadModelFromStreamAsync(IRandomAccessStreamReference ^ modelStream);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<LearningModelPreview> LoadModelFromStreamAsync(IRandomAccessStreamReference const& modelStream);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("Use ILearningModelStatics instead of ILearningModelPreviewStatics. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract")]
 static IAsyncOperation<LearningModelPreview> LoadModelFromStreamAsync(IRandomAccessStreamReference const& modelStream);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<LearningModelPreview> LoadModelFromStreamAsync(IRandomAccessStreamReference modelStream);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("Use ILearningModelStatics instead of ILearningModelPreviewStatics. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract")]
public static IAsyncOperation<LearningModelPreview> LoadModelFromStreamAsync(IRandomAccessStreamReference modelStream);
function loadModelFromStreamAsync(modelStream)
Public Shared Function LoadModelFromStreamAsync (modelStream As IRandomAccessStreamReference) As IAsyncOperation(Of LearningModelPreview)

Parameter

modelStream
IRandomAccessStreamReference

Der Dateistream für das Modell.

Gibt zurück

Gibt eine LearningModelPreview zurück.

Attribute

Hinweise

Warnung

Dies ist eine veraltete API. Verwenden Sie stattdessen den Windows.AI.MachineLearning-Namespace .

Gilt für: