GetRunConfigEntry property

Pointer<NativeFunction<Pointer<Char> Function(Pointer<OrtRunOptions> options, Pointer<Char> config_key)>> GetRunConfigEntry
getter/setter pair

\brief Get a run configuration entry.

If a run configuration entry with key config_key doesn't exist, config_value will be set to NULL.

config_keys are defined in onnxruntime_run_options_config_keys.h.

\paramin options The OrtRunOptions instance. \paramin config_key The configuration entry key. A null-terminated string. \return The configuration entry value. Either a null-terminated string if the entry was found. nullptr otherwise.

\snippet{doc} snippets.dox OrtStatus Return Value

\since Version 1.23

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    ffi.Pointer<ffi.Char> Function(
      ffi.Pointer<OrtRunOptions> options,
      ffi.Pointer<ffi.Char> config_key,
    )
  >
>
GetRunConfigEntry;