ArmNN
 25.11
Loading...
Searching...
No Matches
DetectionPostProcessDescriptor Struct Reference

#include <Descriptors.hpp>

Inheritance diagram for DetectionPostProcessDescriptor:
[legend]
Collaboration diagram for DetectionPostProcessDescriptor:
[legend]

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.
uint32_t m_MaxClassesPerDetection
 Maximum numbers of classes per detection, used in Fast NMS.
uint32_t m_DetectionsPerClass
 Detections per classes, used in Regular NMS.
float m_NmsScoreThreshold
 NMS score threshold.
float m_NmsIouThreshold
 Intersection over union threshold.
uint32_t m_NumClasses
 Number of classes.
bool m_UseRegularNms
 Use Regular NMS.
float m_ScaleX
 Center size encoding scale x.
float m_ScaleY
 Center size encoding scale y.
float m_ScaleW
 Center size encoding scale weight.
float m_ScaleH
 Center size encoding scale height.

Detailed Description

Definition at line 713 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ DetectionPostProcessDescriptor()

Definition at line 715 of file Descriptors.hpp.

716 : m_MaxDetections(0)
717 , m_MaxClassesPerDetection(1)
718 , m_DetectionsPerClass(1)
719 , m_NmsScoreThreshold(0)
720 , m_NmsIouThreshold(0)
721 , m_NumClasses(0)
722 , m_UseRegularNms(false)
723 , m_ScaleX(0)
724 , m_ScaleY(0)
725 , m_ScaleW(0)
726 , m_ScaleH(0)
727 {}

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

Referenced by operator==().

Member Function Documentation

◆ operator==()

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

Definition at line 729 of file Descriptors.hpp.

730 {
731 return m_MaxDetections == rhs.m_MaxDetections &&
732 m_MaxClassesPerDetection == rhs.m_MaxClassesPerDetection &&
733 m_DetectionsPerClass == rhs.m_DetectionsPerClass &&
734 m_NmsScoreThreshold == rhs.m_NmsScoreThreshold &&
735 m_NmsIouThreshold == rhs.m_NmsIouThreshold &&
736 m_NumClasses == rhs.m_NumClasses &&
737 m_UseRegularNms == rhs.m_UseRegularNms &&
738 m_ScaleX == rhs.m_ScaleX &&
739 m_ScaleY == rhs.m_ScaleY &&
740 m_ScaleW == rhs.m_ScaleW &&
741 m_ScaleH == rhs.m_ScaleH;
742 }

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

Member Data Documentation

◆ m_DetectionsPerClass

uint32_t m_DetectionsPerClass

◆ m_MaxClassesPerDetection

uint32_t 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: