SSCMA-Micro CPP SDK  v2.0.0
SSCMA-Micro is a cross-platform machine learning inference framework designed for embedded devices.
ma_model_yolo11_seg.h
Go to the documentation of this file.
1 #ifndef _MA_MODEL_YOLO11_SEG_H_
2 #define _MA_MODEL_YOLO11_SEG_H_
3 
4 #include <cstddef>
5 #include <cstdint>
6 #include <utility>
7 #include <vector>
8 
9 #include "ma_model_segmenter.h"
10 
11 namespace ma::model {
12 
13 class Yolo11Seg : public Segmenter {
14 private:
15  ma_tensor_t bboxes_;
16  ma_tensor_t protos_;
17  int32_t num_record_;
18  int32_t num_class_;
19 
20 protected:
21  ma_err_t postprocess() override;
22 
24 
25 public:
26  Yolo11Seg(Engine* engine);
27  ~Yolo11Seg();
28 
29  static bool isValid(Engine* engine);
30 };
31 
32 } // namespace ma::model
33 
34 #endif // _MA_MODEL_YOLO_H
Definition: ma_engine_base.h:17
Definition: ma_model_segmenter.h:10
Definition: ma_model_yolo11_seg.h:13
~Yolo11Seg()
Definition: ma_model_yolo11_seg.cpp:28
Yolo11Seg(Engine *engine)
Definition: ma_model_yolo11_seg.cpp:18
ma_err_t postprocess() override
Definition: ma_model_yolo11_seg.cpp:78
static bool isValid(Engine *engine)
Definition: ma_model_yolo11_seg.cpp:30
ma_err_t postProcessF32()
Definition: ma_model_yolo11_seg.cpp:86
ma_err_t
Definition: ma_types.h:21
Definition: ma_model_classifier.cpp:5
Definition: ma_types.h:74