holoscan::copy_dl_tensor_with_owned_metadata
holoscan::copy_dl_tensor_with_owned_metadata
Overload 1
Overload 2
Overload 3
Copy a DLTensor while pointing the destination shape/stride arrays at owned storage.
Parameters
source
The DLTensor to copy.
destination
[out] The DLTensor to populate (shape/strides point into the owned vectors).
owned_shape
[out] Owned shape storage.
owned_strides
[out] Owned stride storage (in elements).
options
Copy options (e.g. materialize implicit strides).