CanImportMemory property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtExternalResourceImporter> importer, UnsignedInt handle_type, Pointer<Bool> out_supported)>> CanImportMemory
getter/setter pair

\brief Check if the external resource importer can import a specific memory handle type.

\paramin importer The OrtExternalResourceImporter instance. \paramin handle_type The type of external memory handle to check. \paramout out_supported Set to true if the handle type is supported.

\snippet{doc} snippets.dox OrtStatus Return Value

\since Version 1.24.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtExternalResourceImporter> importer,
      ffi.UnsignedInt handle_type,
      ffi.Pointer<ffi.Bool> out_supported,
    )
  >
>
CanImportMemory;