ArmNN
 22.02
DetectionPostProcessDescriptor Struct Reference

#include <Descriptors.hpp>

Inheritance diagram for DetectionPostProcessDescriptor:
BaseDescriptor

Public Member Functions

 DetectionPostProcessDescriptor ()
 
bool operator== (const DetectionPostProcessDescriptor &rhs) const
 
- Public Member Functions inherited from BaseDescriptor
virtual bool IsNull () const
 
virtual ~BaseDescriptor ()=default
 

Public Attributes

uint32_t m_MaxDetections
 Maximum numbers of detections. More...
 
uint32_t m_MaxClassesPerDetection
 Maximum numbers of classes per detection, used in Fast NMS. More...
 
uint32_t m_DetectionsPerClass
 Detections per classes, used in Regular NMS. More...
 
float m_NmsScoreThreshold
 NMS score threshold. More...
 
float m_NmsIouThreshold
 Intersection over union threshold. More...
 
uint32_t m_NumClasses
 Number of classes. More...
 
bool m_UseRegularNms
 Use Regular NMS. More...
 
float m_ScaleX
 Center size encoding scale x. More...
 
float m_ScaleY
 Center size encoding scale y. More...
 
float m_ScaleW
 Center size encoding scale weight. More...
 
float m_ScaleH
 Center size encoding scale height. More...
 

Detailed Description

Definition at line 673 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ DetectionPostProcessDescriptor()

Definition at line 675 of file Descriptors.hpp.

676  : m_MaxDetections(0)
680  , m_NmsIouThreshold(0)
681  , m_NumClasses(0)
682  , m_UseRegularNms(false)
683  , m_ScaleX(0)
684  , m_ScaleY(0)
685  , m_ScaleW(0)
686  , m_ScaleH(0)
687  {}
float m_ScaleW
Center size encoding scale weight.
float m_ScaleX
Center size encoding scale x.
uint32_t m_DetectionsPerClass
Detections per classes, used in Regular NMS.
uint32_t m_MaxClassesPerDetection
Maximum numbers of classes per detection, used in Fast NMS.
uint32_t m_MaxDetections
Maximum numbers of detections.
float m_NmsIouThreshold
Intersection over union threshold.
uint32_t m_NumClasses
Number of classes.
bool m_UseRegularNms
Use Regular NMS.
float m_ScaleH
Center size encoding scale height.
float m_ScaleY
Center size encoding scale y.
float m_NmsScoreThreshold
NMS score threshold.

Member Function Documentation

◆ operator==()

bool operator== ( const DetectionPostProcessDescriptor rhs) const
inline

Definition at line 689 of file Descriptors.hpp.

References DetectionPostProcessDescriptor::m_DetectionsPerClass, DetectionPostProcessDescriptor::m_MaxClassesPerDetection, DetectionPostProcessDescriptor::m_MaxDetections, DetectionPostProcessDescriptor::m_NmsIouThreshold, DetectionPostProcessDescriptor::m_NmsScoreThreshold, DetectionPostProcessDescriptor::m_NumClasses, DetectionPostProcessDescriptor::m_ScaleH, DetectionPostProcessDescriptor::m_ScaleW, DetectionPostProcessDescriptor::m_ScaleX, DetectionPostProcessDescriptor::m_ScaleY, and DetectionPostProcessDescriptor::m_UseRegularNms.

690  {
691  return m_MaxDetections == rhs.m_MaxDetections &&
692  m_MaxClassesPerDetection == rhs.m_MaxClassesPerDetection &&
693  m_DetectionsPerClass == rhs.m_DetectionsPerClass &&
694  m_NmsScoreThreshold == rhs.m_NmsScoreThreshold &&
695  m_NmsIouThreshold == rhs.m_NmsIouThreshold &&
696  m_NumClasses == rhs.m_NumClasses &&
697  m_UseRegularNms == rhs.m_UseRegularNms &&
698  m_ScaleX == rhs.m_ScaleX &&
699  m_ScaleY == rhs.m_ScaleY &&
700  m_ScaleW == rhs.m_ScaleW &&
701  m_ScaleH == rhs.m_ScaleH;
702  }
float m_ScaleW
Center size encoding scale weight.
float m_ScaleX
Center size encoding scale x.
uint32_t m_DetectionsPerClass
Detections per classes, used in Regular NMS.
uint32_t m_MaxClassesPerDetection
Maximum numbers of classes per detection, used in Fast NMS.
uint32_t m_MaxDetections
Maximum numbers of detections.
float m_NmsIouThreshold
Intersection over union threshold.
uint32_t m_NumClasses
Number of classes.
bool m_UseRegularNms
Use Regular NMS.
float m_ScaleH
Center size encoding scale height.
float m_ScaleY
Center size encoding scale y.
float m_NmsScoreThreshold
NMS score threshold.

Member Data Documentation

◆ m_DetectionsPerClass

◆ m_MaxClassesPerDetection

◆ m_MaxDetections

◆ m_NmsIouThreshold

◆ m_NmsScoreThreshold

◆ m_NumClasses

◆ m_ScaleH

◆ m_ScaleW

◆ m_ScaleX

◆ m_ScaleY

◆ m_UseRegularNms


The documentation for this struct was generated from the following file: