CanImportMemory property

Pointer<NativeFunction<Bool Function(Pointer<OrtExternalResourceImporterImpl> this_ptr, UnsignedInt handle_type)>> CanImportMemory
getter/setter pair

\brief Check if the implementation can import external memory of the given handle type.

\paramin this_ptr Pointer to the OrtExternalResourceImporterImpl instance. \paramin handle_type The type of external memory handle to check. \return True if the handle type is supported.

\since Version 1.24.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    ffi.Bool Function(
      ffi.Pointer<OrtExternalResourceImporterImpl> this_ptr,
      ffi.UnsignedInt handle_type,
    )
  >
>
CanImportMemory;