/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocal/checkouts/latest/rocAL/include/api/rocal_api_data_transfer.h File Reference

/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocal/checkouts/latest/rocAL/include/api/rocal_api_data_transfer.h File Reference#

rocAL: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocal/checkouts/latest/rocAL/include/api/rocal_api_data_transfer.h File Reference
rocal_api_data_transfer.h File Reference

The AMD rocAL Library - Data Transfer. More...

#include "rocal_api_types.h"

Go to the source code of this file.

Functions

RocalStatus ROCAL_API_CALL rocalCopyToOutput (RocalContext context, unsigned char *out_ptr, size_t out_size)
 copies data to output buffer More...
 
RocalStatus ROCAL_API_CALL rocalToTensor (RocalContext rocal_context, void *out_ptr, RocalTensorLayout tensor_format, RocalTensorOutputType tensor_output_type, float multiplier0, float multiplier1, float multiplier2, float offset0, float offset1, float offset2, bool reverse_channels, RocalOutputMemType output_mem_type, int max_roi_height=0, int max_roi_width=0)
 converts data to a tensor More...
 
void ROCAL_API_CALL rocalSetOutputs (RocalContext p_context, unsigned int num_of_outputs, std::vector< RocalTensor > &output_images)
 Sets the output images in the RocalContext. More...
 
RocalTensorList ROCAL_API_CALL rocalGetOutputTensors (RocalContext p_context)
 gives the list of output tensors from rocal context More...
 
RocalStatus ROCAL_API_CALL rocalExternalSourceFeedInput (RocalContext p_context, const std::vector< std::string > &input_images_names, bool is_labels, const std::vector< unsigned char * > &input_buffer, const std::vector< ROIxywh > &roi_xywh, unsigned int max_width, unsigned int max_height, unsigned int channels, RocalExternalSourceMode mode, RocalTensorLayout layout, bool eos)
 Creates ExternalSourceFeedInput for data transfer. More...
 

Detailed Description

The AMD rocAL Library - Data Transfer.