ExecutionProviderCatalog.RegisterCertifiedAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registers all compatible execution providers with the ONNX Runtime without ensuring they are ready. This registers only providers that are already present on the machine, avoiding the potentially long download times that might be required by EnsureAndRegisterCertifiedAsync.
public:
virtual IAsyncOperationWithProgress<IVector<ExecutionProvider ^> ^, double> ^ RegisterCertifiedAsync() = RegisterCertifiedAsync;
IAsyncOperationWithProgress<IVector<ExecutionProvider>, double> RegisterCertifiedAsync();
public IAsyncOperationWithProgress<IList<ExecutionProvider>,double> RegisterCertifiedAsync();
function registerCertifiedAsync()
Public Function RegisterCertifiedAsync () As IAsyncOperationWithProgress(Of IList(Of ExecutionProvider), Double)
Returns
IAsyncOperationWithProgress<IVector<ExecutionProvider>,Double>
IAsyncOperationWithProgress<IList<ExecutionProvider>,Double>
IAsyncOperationWithProgress<IVector<ExecutionProvider>,double>
Examples
var catalog = Microsoft.Windows.AI.MachineLearning.ExecutionProviderCatalog.GetDefault();
await catalog.RegisterCertifiedAsync();
auto catalog = winrt::Microsoft::Windows::AI::MachineLearning::ExecutionProviderCatalog::GetDefault();
catalog.RegisterCertifiedAsync().get();
# DO NOT call this method in Python.