OrtDataTransferImpl class final
\brief Struct that an EP implements for IDataTransfer to copy between devices it uses and CPU.
\since Version 1.23.
- 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 -
CanCopy
↔ Pointer<
NativeFunction< Bool Function(Pointer< >OrtDataTransferImpl> this_ptr, Pointer<OrtMemoryDevice> src_memory_device, Pointer<OrtMemoryDevice> dst_memory_device)> -
\brief Check if the implementation can copy between the source and destination memory devices.
getter/setter pair
-
CopyTensors
↔ Pointer<
NativeFunction< OrtStatusPtr Function(Pointer< >OrtDataTransferImpl> this_ptr, Pointer<Pointer< src_tensors, Pointer<OrtValue> >Pointer< dst_tensors, Pointer<OrtValue> >Pointer< streams, Size num_tensors)>OrtSyncStream> > -
\brief Copy tensors from src_tensors to dst_tensors using the provided streams.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- ort_version_supported ↔ int
-
< Must be initialized to ORT_API_VERSION
getter/setter pair
-
Release
↔ Pointer<
NativeFunction< Void Function(Pointer< >OrtDataTransferImpl> this_ptr)> -
\brief Release the OrtDataTransferImpl instance.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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