GetEnvConfigEntries property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<Pointer<OrtKeyValuePairs>> config_entries)>> GetEnvConfigEntries
getter/setter pair

\brief Gets a new OrtKeyValuePairs instance containing a copy of all configuration entries set on the environment.

\note An application provides environment-level configuration options for execution provider libraries by using keys with the prefix 'ep_factory.\<ep_name\>.'. Ex: the key 'ep_factory.my_ep.some_ep_key' represents a key named 'some_ep_key' that is meant to be consumed by an execution provider named 'my_ep'. Refer to the specific execution provider's documentation for valid keys and values.

\note Refer to onnxruntime_env_config_keys.h for common configuration entry keys and their supported values.

\paramout config_entries Output parameter set to the OrtKeyValuePairs instance containing all configuration entries. Must be released via OrtApi::ReleaseKeyValuePairs.

\snippet{doc} snippets.dox OrtStatus Return Value \since Version 1.24

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<ffi.Pointer<OrtKeyValuePairs>> config_entries,
    )
  >
>
GetEnvConfigEntries;