ArmNN
 21.02
DetectionPostProcessDescriptor Struct Reference

#include <Descriptors.hpp>

Inheritance diagram for DetectionPostProcessDescriptor:
BaseDescriptor

Public Member Functions

 DetectionPostProcessDescriptor ()
 
bool operator== (const DetectionPostProcessDescriptor &rhs) const
 

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 511 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ DetectionPostProcessDescriptor()

Definition at line 513 of file Descriptors.hpp.

514  : m_MaxDetections(0)
518  , m_NmsIouThreshold(0)
519  , m_NumClasses(0)
520  , m_UseRegularNms(false)
521  , m_ScaleX(0)
522  , m_ScaleY(0)
523  , m_ScaleW(0)
524  , m_ScaleH(0)
525  {}
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 527 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.

528  {
529  return m_MaxDetections == rhs.m_MaxDetections &&
530  m_MaxClassesPerDetection == rhs.m_MaxClassesPerDetection &&
531  m_DetectionsPerClass == rhs.m_DetectionsPerClass &&
532  m_NmsScoreThreshold == rhs.m_NmsScoreThreshold &&
533  m_NmsIouThreshold == rhs.m_NmsIouThreshold &&
534  m_NumClasses == rhs.m_NumClasses &&
535  m_UseRegularNms == rhs.m_UseRegularNms &&
536  m_ScaleX == rhs.m_ScaleX &&
537  m_ScaleY == rhs.m_ScaleY &&
538  m_ScaleW == rhs.m_ScaleW &&
539  m_ScaleH == rhs.m_ScaleH;
540  }
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: