GetExecutionProviderApi property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<Char> provider_name, Uint32 version, Pointer<Pointer<Void>> provider_api)>> GetExecutionProviderApi
getter/setter pair

@} \name GetExecutionProviderApi @{ /** \brief Get a pointer to the requested version of the Execution Provider specific

  • API extensions to the OrtApi
  • \paramin provider_name The name of the execution provider name. Currently only the following
  • values are supported: "DML".
  • \paramin version Must be ::ORT_API_VERSION.
  • \paramout provider_api A void pointer containing a reference to the execution provider versioned api structure.
  • For example, the provider_api pointer can be cast to the OrtDmlApi* when the provider_name is "DML".
  • \snippet{doc} snippets.dox OrtStatus Return Value */

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<ffi.Char> provider_name,
      ffi.Uint32 version,
      ffi.Pointer<ffi.Pointer<ffi.Void>> provider_api,
    )
  >
>
GetExecutionProviderApi;