OrtExternalMemoryDescriptor class final
\brief Descriptor for importing external memory.
\note The version field must be set to ORT_API_VERSION. This ensures forward compatibility as fields may be added in future versions.
\since Version 1.24.
- Inheritance
- Implemented types
- Available extensions
Constructors
Properties
-
address
→ Pointer<
T> -
Available on T, provided by the StructAddress extension
The memory address of the underlying data.no setter - handle_type → OrtExternalMemoryHandleType
-
no setter
- handle_typeAsInt ↔ int
-
< Type of the external memory handle
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
native_handle
↔ Pointer<
Void> -
< Platform-specific handle (e.g., Windows HANDLE)
getter/setter pair
- offset_bytes ↔ int
-
< Offset in bytes into the allocation (default 0).
Base offset for the imported memory region.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size_bytes ↔ int
-
< Total size in bytes of the external allocation
getter/setter pair
- version ↔ int
-
< Must be ORT_API_VERSION
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited