CreateMemoryInfo property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<Char> name, Int type, Int id, Int mem_type, Pointer<Pointer<OrtMemoryInfo>> out)>> CreateMemoryInfo
getter/setter pair

\brief Create an ::OrtMemoryInfo

\paramin name \paramin type \paramin id \paramin mem_type \paramout out Newly created ::OrtMemoryInfo. Must be freed with OrtAPi::ReleaseMemoryInfo

\snippet{doc} snippets.dox OrtStatus Return Value

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<ffi.Char> name,
      ffi.Int type,
      ffi.Int id,
      ffi.Int mem_type,
      ffi.Pointer<ffi.Pointer<OrtMemoryInfo>> out,
    )
  >
>
CreateMemoryInfo;