GetAvailableProviders property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<Pointer<Pointer<Char> > > out_ptr, Pointer<Int> provider_length)> >
GetAvailableProviders
getter/setter pair
\brief Get the names of all available providers
\note The providers in the list are not guaranteed to be usable. They may fail to load due to missing system dependencies. For example, if the CUDA/cuDNN libraries are not installed, the CUDA provider will report an error when it is added to the session options.
\paramout out_ptr Set to a pointer to an array of null terminated strings of the available providers. The entries and the
array itself must be freed using OrtApi::ReleaseAvailableProviders
\paramout provider_length Set to the number of entries in the out_ptr array
\snippet{doc} snippets.dox OrtStatus Return Value
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<ffi.Pointer<ffi.Pointer<ffi.Char>>> out_ptr,
ffi.Pointer<ffi.Int> provider_length,
)
>
>
GetAvailableProviders;