CreateExternalInitializerInfo property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<Char> filepath, Int64 file_offset, Size byte_size, Pointer<Pointer<OrtExternalInitializerInfo>> out)>> CreateExternalInitializerInfo
getter/setter pair

\brief Creates an OrtExternalInitializerInfo instance.

\paramin filepath The relative path to the file that stores the initializer's data. ORT copies this path string. \paramin file_offset The byte offset where the initializer's data is stored within the file. \paramin byte_size The size in bytes of the initializer's data within the file. \paramout out Output parameter set to the new OrtExternalInitializerInfo instance. Must be released by calling ReleaseExternalInitializerInfo().

\snippet{doc} snippets.dox OrtStatus Return Value

\since Version 1.23.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<ffi.Char> filepath,
      ffi.Int64 file_offset,
      ffi.Size byte_size,
      ffi.Pointer<ffi.Pointer<OrtExternalInitializerInfo>> out,
    )
  >
>
CreateExternalInitializerInfo;