ReleaseMemory property

Pointer<NativeFunction<Void Function(Pointer<OrtExternalResourceImporterImpl> this_ptr, Pointer<OrtExternalMemoryHandle> handle)>> ReleaseMemory
getter/setter pair

\brief Release an imported external memory handle.

The EP deletes its derived type instance.

\paramin this_ptr Pointer to the OrtExternalResourceImporterImpl instance. \paramin handle The OrtExternalMemoryHandle to release (EP casts to its derived type).

\since Version 1.24.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    ffi.Void Function(
      ffi.Pointer<OrtExternalResourceImporterImpl> this_ptr,
      ffi.Pointer<OrtExternalMemoryHandle> handle,
    )
  >
>
ReleaseMemory;