AddSessionConfigEntry property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtSessionOptions> options, Pointer<Char> config_key, Pointer<Char> config_value)> >
AddSessionConfigEntry
getter/setter pair
\brief Set a session configuration entry as a pair of strings
If a configuration with same key exists, this will overwrite the configuration with the given config_value.
The config_key and the format of config_value are defined in onnxruntime_session_options_config_keys.h
\paramin options
\paramin config_key A null terminated string representation of the config key
\paramin config_value A null terminated string representation of the config value
\snippet{doc} snippets.dox OrtStatus Return Value
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtSessionOptions> options,
ffi.Pointer<ffi.Char> config_key,
ffi.Pointer<ffi.Char> config_value,
)
>
>
AddSessionConfigEntry;