Share via


LearningModelBindingPreview(LearningModelPreview) Constructor

Definition

Deprecated. Creates a LearningModelBinding from the specified LearningModelSession.

public:
 LearningModelBindingPreview(LearningModelPreview ^ model);
 LearningModelBindingPreview(LearningModelPreview const& model);
/// [Windows.Foundation.Metadata.Deprecated("Use ILearningModelBindingFactory instead of ILearningModelBindingPreviewFactory. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract")]
 LearningModelBindingPreview(LearningModelPreview const& model);
public LearningModelBindingPreview(LearningModelPreview model);
[Windows.Foundation.Metadata.Deprecated("Use ILearningModelBindingFactory instead of ILearningModelBindingPreviewFactory. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract")]
public LearningModelBindingPreview(LearningModelPreview model);
function LearningModelBindingPreview(model)
Public Sub New (model As LearningModelPreview)

Parameters

model
LearningModelPreview

The LearningModelSession from which to create the LearningModelBinding.

Attributes

Remarks

Warning

This is a deprecated API. Please use the Windows.AI.MachineLearning namespace instead.

Applies to