IWinMLModel interface

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

These APIs have been deprecated and should no longer be used:  Please use Windows.AI.MachineLearning instead.

Represents a Windows Machine Learning model with corresponding metadata; includes model descriptions (name, author, versioning, etc.), as well as expected inputs and outputs.


The IWinMLModel interface has these methods.

Method Description
IWinMLModel::EnumerateMetadata Gets the metadata of the model.
IWinMLModel::EnumerateModelInputs Enumerates the WinML model inputs.
IWinMLModel::EnumerateModelOutputs Enumerates the WinML model outputs.
IWinMLModel::GetDescription Retrieves the WinML model description.


Minimum supported client Windows 10, version 1803 [desktop apps only]
Minimum supported server Windows Server [desktop apps only]
Target Platform Windows
Header winml.h