UnregisterExecutionProviderLibrary property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtEnv> env, Pointer<Char> registration_name)> >
UnregisterExecutionProviderLibrary
getter/setter pair
\brief Unregister an execution provider library with ORT.
ORT will call ReleaseEpFactory for all factories created by the library, and unload the library.
You MUST ensure there are no Session instances using execution providers created by the library before calling this function.
\paramin env The OrtEnv instance to unregister the library from.
\paramin registration_name The name the execution provider library was registered under.
\snippet{doc} snippets.dox OrtStatus Return Value
\since Version 1.22.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtEnv> env,
ffi.Pointer<ffi.Char> registration_name,
)
>
>
UnregisterExecutionProviderLibrary;