ArmNN
 24.08
L2NormalizationDescriptor Struct Reference

A L2NormalizationDescriptor for the L2NormalizationLayer. More...

#include <Descriptors.hpp>

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

Public Member Functions

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

Public Attributes

float m_Eps
 Used to avoid dividing by zero. More...
 
DataLayout m_DataLayout
 The data layout to be used (NCHW, NHWC). More...
 

Detailed Description

A L2NormalizationDescriptor for the L2NormalizationLayer.

Definition at line 809 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ L2NormalizationDescriptor()

Definition at line 811 of file Descriptors.hpp.

812  : m_Eps(1e-12f)
814  {}

References armnn::NCHW.

Member Function Documentation

◆ operator==()

bool operator== ( const L2NormalizationDescriptor rhs) const
inline

Definition at line 816 of file Descriptors.hpp.

817  {
818  return m_Eps == rhs.m_Eps && m_DataLayout == rhs.m_DataLayout;
819  }

References L2NormalizationDescriptor::m_DataLayout, and L2NormalizationDescriptor::m_Eps.

Member Data Documentation

◆ m_DataLayout

DataLayout m_DataLayout

The data layout to be used (NCHW, NHWC).

Definition at line 824 of file Descriptors.hpp.

Referenced by L2NormalizationDescriptor::operator==(), and StringifyLayerParameters< L2NormalizationDescriptor >::Serialize().

◆ m_Eps

float m_Eps

Used to avoid dividing by zero.

Definition at line 822 of file Descriptors.hpp.

Referenced by L2NormalizationDescriptor::operator==(), and StringifyLayerParameters< L2NormalizationDescriptor >::Serialize().


The documentation for this struct was generated from the following file:
armnn::L2NormalizationDescriptor::m_DataLayout
DataLayout m_DataLayout
The data layout to be used (NCHW, NHWC).
Definition: Descriptors.hpp:824
armnn::L2NormalizationDescriptor::m_Eps
float m_Eps
Used to avoid dividing by zero.
Definition: Descriptors.hpp:822
armnn::DataLayout::NCHW
@ NCHW