config_entries property

Pointer<OrtKeyValuePairs> config_entries
getter/setter pair

\brief Optional environment configuration entries represented as string key-value pairs. May be set to NULL.

\note The OrtKeyValuePairs instance is copied by ORT.

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

\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 An application may separately set session-level configuration options for execution providers via other APIs such as SessionOptionsAppendExecutionProvider_V2, which store configuration entries within OrtSessionOptions. If an environment-level configuration conflicts with a session-level configuration, then precedence is determined by the execution provider library itself.

\since Version 1.24.

Implementation

external ffi.Pointer<OrtKeyValuePairs> config_entries;