holoscan::utils::get_data_per_model
holoscan::utils::get_data_per_model
Extracts data from GXF Receivers (with context and cuda stream handler)
Extracts data from GXF Receivers (with cuda stream out)
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
op_input
Input context
in_tensors
Input tensor names
data_per_input_tensor
Map is updated with output tensor name as key mapped to data buffer
dims_per_tensor
Map is updated with tensor name as key mapped to dimension of input tensor
cuda_buffer_out
Flag defining the location of output memory (Device or Host)
module
Module that called for data extraction
context
GXF execution context
cuda_stream_handler
Cuda stream handler