IWinMLRuntimeFactory 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 the factory that creates the WinML runtime for model loading and evaluation.


The IWinMLRuntimeFactory interface has these methods.

Method Description
IWinMLRuntimeFactory::CreateRuntime Creates a WinML runtime.


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