GetAllocatorWithDefaultOptions property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<Pointer<OrtAllocator>> out)>> GetAllocatorWithDefaultOptions
getter/setter pair

\brief Get the default allocator

The default allocator is a CPU based, non-arena. Always returns the same pointer to the same default allocator.

\paramout out Returned value should NOT be freed

\snippet{doc} snippets.dox OrtStatus Return Value

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(ffi.Pointer<ffi.Pointer<OrtAllocator>> out)
  >
>
GetAllocatorWithDefaultOptions;