Windows-Machine-Learning
Windows-Machine-Learning copied to clipboard
Cannot access onnxruntime API
Hello,
I've tried the example of https://learn.microsoft.com/en-us/windows/ai/new-windows-ml/tutorial?tabs=cpp
As document described, we shall apply initAPI() before using onnxruntime.
However, the program will crash at the point:
OrtGetApiBase() is NULL indeed.
The onnxruntime.dll is 1.22.25.515 WinMLBootstrap.dll is 0.3.134.0 DXGI.dll and D3D12.dll are located under C:\Windows\System32
Are there any steps we should do?
Thanks