Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/new-windows-ml/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ The simplest way to get started is to let Windows ML automatically discover, dow

```cppwinrt
#include <winrt/Microsoft.Windows.AI.MachineLearning.h>
#include <winrt/Windows.Foundation.h>
#include <winrt/Windows.Foundation.Collections.h>
#include <winml/onnxruntime_cxx_api.h>

// First we need to create an ORT environment
Expand All @@ -167,7 +169,7 @@ winrt::Microsoft::Windows::AI::MachineLearning::ExecutionProviderCatalog catalog
winrt::Microsoft::Windows::AI::MachineLearning::ExecutionProviderCatalog::GetDefault();

// Ensure and register all compatible execution providers with ONNX Runtime
catalog.EnsureAndRegisterCertifiedAsync().get();
co_await catalog.EnsureAndRegisterCertifiedAsync();
```

### [C/C++](#tab/c)
Expand Down