holoscan::utils::get_data_per_model_cached
holoscan::utils::get_data_per_model_cached
Cached variant of get_data_per_model.
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
cuda_stream_out
Any stream used from the input port will be stored here.
cache
Cache for the input-side counterpart of TensorTransmitCache.