ArmNN
 21.08
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 523 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ DetectionPostProcessDescriptor()

Definition at line 525 of file Descriptors.hpp.

526  : m_MaxDetections(0)
530  , m_NmsIouThreshold(0)
531  , m_NumClasses(0)
532  , m_UseRegularNms(false)
533  , m_ScaleX(0)
534  , m_ScaleY(0)
535  , m_ScaleW(0)
536  , m_ScaleH(0)
537  {}
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 539 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.

540  {
541  return m_MaxDetections == rhs.m_MaxDetections &&
542  m_MaxClassesPerDetection == rhs.m_MaxClassesPerDetection &&
543  m_DetectionsPerClass == rhs.m_DetectionsPerClass &&
544  m_NmsScoreThreshold == rhs.m_NmsScoreThreshold &&
545  m_NmsIouThreshold == rhs.m_NmsIouThreshold &&
546  m_NumClasses == rhs.m_NumClasses &&
547  m_UseRegularNms == rhs.m_UseRegularNms &&
548  m_ScaleX == rhs.m_ScaleX &&
549  m_ScaleY == rhs.m_ScaleY &&
550  m_ScaleW == rhs.m_ScaleW &&
551  m_ScaleH == rhs.m_ScaleH;
552  }
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: