ModelCompilationOptions_SetEpContextBinaryInformation property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtModelCompilationOptions> model_compile_options, Pointer<Char> output_directory, Pointer<Char> model_name)>> ModelCompilationOptions_SetEpContextBinaryInformation
getter/setter pair

Sets information related to EP context binary file.

EP uses this information to decide the location and context binary file name. Used while compiling model with input and output in memory buffer

\paramin model_compile_options The OrtModelCompilationOptions instance. \paramin output_directory Null terminated string of the path (wchar on Windows, char otherwise). \paramin model_name Null terminated string of the model name (wchar on Windows, char otherwise).

\snippet{doc} snippets.dox OrtStatus Return Value

\since Version 1.23.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtModelCompilationOptions> model_compile_options,
      ffi.Pointer<ffi.Char> output_directory,
      ffi.Pointer<ffi.Char> model_name,
    )
  >
>
ModelCompilationOptions_SetEpContextBinaryInformation;