Process
Function Usage
Receives the model inference output tensors and outputs the classification result.
Prototype
1 | virtual APP_ERROR ClassPostProcessBase::Process(const std::vector<TensorBase>& tensors, std::vector<std::vector<ClassInfo>> &classInfos, const std::map<std::string, std::shared_ptr<void>> &configParamMap = {}); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
tensors |
Input |
Input tensors for model postprocessing. |
classInfos |
Output |
Output classification result. |
configParamMap |
Input |
(Optional) Other parameters. |
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: ClassPostProcessBase