nndeploy C++ API  0.2.0
nndeploy C++ API
result.h
Go to the documentation of this file.
1 
2 #ifndef _NNDEPLOY_CLASSIFICATION_RESULT_H_
3 #define _NNDEPLOY_CLASSIFICATION_RESULT_H_
4 
5 #include "nndeploy/base/param.h"
7 
8 namespace nndeploy {
9 namespace classification {
10 
16  public:
19 
20  int index_ = 0;
21  int label_ids_ = -1;
22  float scores_ = 0.0f;
23  float feature_ = 0.0f;
24 };
25 
27  public:
29  virtual ~ClassificationResult(){};
30  std::vector<ClassificationLableResult> labels_;
31 };
32 
33 } // namespace classification
34 } // namespace nndeploy
35 
36 #endif /* _NNDEPLOY_CLASSIFICATION_RESULT_H_ */
std::vector< ClassificationLableResult > labels_
Definition: result.h:29
#define NNDEPLOY_CC_API
api
Definition: macro.h:29