MemoryDataToHost
Function Usage
Copies data from the device to the host for postprocessing.
Prototype
1 | APP_ERROR ModelPostProcessorBase::MemoryDataToHost(const int index, const std::vector<std::vector<MxBase::BaseTensor>>& tensors,std::vector<std::shared_ptr<void>>& featLayerData); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
index |
Input |
Index of the output pool. |
tensors |
Input |
Array of output tensors. |
featLayerData |
Output |
Array of output feature data. |
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: ModelPostProcessorBase