ArmNN
 24.08
NormalizationDescriptor Struct Reference

A NormalizationDescriptor for the NormalizationLayer. More...

#include <Descriptors.hpp>

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

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ NormalizationDescriptor()

Member Function Documentation

◆ operator==()

bool operator== ( const NormalizationDescriptor rhs) const
inline

Definition at line 781 of file Descriptors.hpp.

782  {
783  return m_NormChannelType == rhs.m_NormChannelType &&
784  m_NormMethodType == rhs.m_NormMethodType &&
785  m_NormSize == rhs.m_NormSize &&
786  m_Alpha == rhs.m_Alpha &&
787  m_Beta == rhs.m_Beta &&
788  m_K == rhs.m_K &&
789  m_DataLayout == rhs.m_DataLayout;
790  }

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

Member Data Documentation

◆ m_Alpha

◆ m_Beta

◆ m_DataLayout

◆ m_K

float m_K

◆ m_NormChannelType

◆ m_NormMethodType

NormalizationAlgorithmMethod m_NormMethodType

Normalization method algorithm to use (LocalBrightness, LocalContrast).

Definition at line 795 of file Descriptors.hpp.

Referenced by IDeserializer::DeserializerImpl::GetNormalizationDescriptor(), NormalizationDescriptor::operator==(), and StringifyLayerParameters< NormalizationDescriptor >::Serialize().

◆ m_NormSize


The documentation for this struct was generated from the following file:
armnn::NormalizationAlgorithmMethod::LocalBrightness
@ LocalBrightness
Krichevsky 2012: Local Brightness Normalization.
armnn::NormalizationDescriptor::m_Beta
float m_Beta
Beta value for the normalization equation.
Definition: Descriptors.hpp:801
armnn::NormalizationDescriptor::m_NormSize
uint32_t m_NormSize
Depth radius value.
Definition: Descriptors.hpp:797
armnn::NormalizationDescriptor::m_NormMethodType
NormalizationAlgorithmMethod m_NormMethodType
Normalization method algorithm to use (LocalBrightness, LocalContrast).
Definition: Descriptors.hpp:795
armnn::NormalizationAlgorithmChannel::Across
@ Across
armnn::NormalizationDescriptor::m_NormChannelType
NormalizationAlgorithmChannel m_NormChannelType
Normalization channel algorithm to use (Across, Within).
Definition: Descriptors.hpp:793
armnn::NormalizationDescriptor::m_DataLayout
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).
Definition: Descriptors.hpp:805
armnn::NormalizationDescriptor::m_Alpha
float m_Alpha
Alpha value for the normalization equation.
Definition: Descriptors.hpp:799
armnn::NormalizationDescriptor::m_K
float m_K
Kappa value used for the across channel normalization equation.
Definition: Descriptors.hpp:803
armnn::DataLayout::NCHW
@ NCHW