Compartir a través de


ExecutionProviderCatalog.RegisterCertifiedAsync Method

Definition

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

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.

Applies to