IWinMLRuntime::CreateEvaluationContext method (winml.h)
These APIs have been deprecated and should no longer be used: Please use Windows.AI.MachineLearning instead.
Creates a WinML evaluation context object.
Syntax
HRESULT CreateEvaluationContext(
[in] ID3D12Device *device,
[out] IWinMLEvaluationContext **ppContext
);
Parameters
[in] device
A pointer to an ID3D12Device describing a D3D12 device input.
[out] ppContext
On success, returns a double pointer to the newly-created WinMLEvaluationContext object.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Minimum supported client | Windows 10, version 1803 [desktop apps only] |
Minimum supported server | Windows Server [desktop apps only] |
Target Platform | Windows |
Header | winml.h |
Library | Winml.lib |
DLL | Winml.dll |
See also
Feedback
Submit and view feedback for