If you don't specify a device to run on with LearningModelDeviceKind, or if you use LearningModelDeviceKind.Default, the system will decide which device will evaluate the model. This is usually the CPU. To make WinML run on the GPU, specify one of the following values when creating the LearningModelDevice:
LearningModelDeviceKind.DirectX
LearningModelDeviceKind.DirectXHighPerformance
LearningModelDeviceKind.DirectXMinPower
Note
Use the following resources for help with Windows ML:
To ask or answer technical questions about Windows ML, please use the windows-machine-learning tag on Stack Overflow.
To report a bug, please file an issue on our GitHub.