MemoryDataToHost
Function Usage
A protected member function that copies data from the device to the host for postprocessing. It is invoked for internal use only. Do not use it.
Prototype
1 | APP_ERROR MxpiModelPostProcessorBase::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: MxpiModelPostProcessorBase