ArmNN
 21.02
NormalizationDescriptor Struct Reference

A NormalizationDescriptor for the NormalizationLayer. More...

#include <Descriptors.hpp>

Inheritance diagram for NormalizationDescriptor:
BaseDescriptor

Public Member Functions

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

Public Attributes

NormalizationAlgorithmChannel m_NormChannelType
 Normalization channel algorithm to use (Across, Within). More...
 
NormalizationAlgorithmMethod m_NormMethodType
 Normalization method algorithm to use (LocalBrightness, LocalContrast). More...
 
uint32_t m_NormSize
 Depth radius value. More...
 
float m_Alpha
 Alpha value for the normalization equation. More...
 
float m_Beta
 Beta value for the normalization equation. More...
 
float m_K
 Kappa value used for the across channel normalization equation. More...
 
DataLayout m_DataLayout
 The data layout to be used (NCHW, NHWC). More...
 

Detailed Description

A NormalizationDescriptor for the NormalizationLayer.

Definition at line 567 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ NormalizationDescriptor()

Definition at line 569 of file Descriptors.hpp.

572  , m_NormSize(0)
573  , m_Alpha(0.f)
574  , m_Beta(0.f)
575  , m_K(0.f)
577  {}
float m_K
Kappa value used for the across channel normalization equation.
float m_Alpha
Alpha value for the normalization equation.
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).
NormalizationAlgorithmMethod m_NormMethodType
Normalization method algorithm to use (LocalBrightness, LocalContrast).
NormalizationAlgorithmChannel m_NormChannelType
Normalization channel algorithm to use (Across, Within).
Krichevsky 2012: Local Brightness Normalization.
float m_Beta
Beta value for the normalization equation.
uint32_t m_NormSize
Depth radius value.

Member Function Documentation

◆ operator==()

bool operator== ( const NormalizationDescriptor rhs) const
inline

Definition at line 579 of file Descriptors.hpp.

References NormalizationDescriptor::m_Alpha, NormalizationDescriptor::m_Beta, NormalizationDescriptor::m_DataLayout, NormalizationDescriptor::m_K, NormalizationDescriptor::m_NormChannelType, NormalizationDescriptor::m_NormMethodType, and NormalizationDescriptor::m_NormSize.

580  {
581  return m_NormChannelType == rhs.m_NormChannelType &&
582  m_NormMethodType == rhs.m_NormMethodType &&
583  m_NormSize == rhs.m_NormSize &&
584  m_Alpha == rhs.m_Alpha &&
585  m_Beta == rhs.m_Beta &&
586  m_K == rhs.m_K &&
587  m_DataLayout == rhs.m_DataLayout;
588  }
float m_K
Kappa value used for the across channel normalization equation.
float m_Alpha
Alpha value for the normalization equation.
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).
NormalizationAlgorithmMethod m_NormMethodType
Normalization method algorithm to use (LocalBrightness, LocalContrast).
NormalizationAlgorithmChannel m_NormChannelType
Normalization channel algorithm to use (Across, Within).
float m_Beta
Beta value for the normalization equation.
uint32_t m_NormSize
Depth radius value.

Member Data Documentation

◆ m_Alpha

◆ m_Beta

◆ m_DataLayout

◆ m_K

◆ m_NormChannelType

◆ m_NormMethodType

◆ m_NormSize


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