holoscan::utils::get_data_per_model
holoscan::utils::get_data_per_model
holoscan::utils::get_data_per_model
Extracts data from GXF Receivers.
This version of get_data_per_model uses the legacy CudaStreamHandler utility. Use the variant without a cuda_stream_handler argument to use the built-in CudaObjectHandler instead.
Returns: GXF result code
Parameters
Input context
Input tensor names
Map is updated with output tensor name as key mapped to data buffer
Map is updated with tensor name as key mapped to dimension of input tensor
Flag defining the location of output memory (Device or Host)
Module that called for data extraction
GXF execution context
Cuda stream handler