ArmNN
 24.02
QLstmDescriptor Struct Reference

A QLstmDescriptor for the QLstmLayer. More...

#include <Descriptors.hpp>

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

Public Member Functions

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

Public Attributes

float m_CellClip
 Clipping threshold value for the cell state. More...
 
float m_ProjectionClip
 Clipping threshold value for the projection. More...
 
bool m_CifgEnabled
 Enable/disable CIFG (coupled input & forget gate). More...
 
bool m_PeepholeEnabled
 Enable/disable peephole. More...
 
bool m_ProjectionEnabled
 Enable/disable the projection layer. More...
 
bool m_LayerNormEnabled
 Enable/disable layer normalization. More...
 
float m_InputIntermediateScale
 Input intermediate quantization scale. More...
 
float m_ForgetIntermediateScale
 Forget intermediate quantization scale. More...
 
float m_CellIntermediateScale
 Cell intermediate quantization scale. More...
 
float m_OutputIntermediateScale
 Output intermediate quantization scale. More...
 
int32_t m_HiddenStateZeroPoint
 Hidden State zero point. More...
 
float m_HiddenStateScale
 Hidden State quantization scale. More...
 

Detailed Description

A QLstmDescriptor for the QLstmLayer.

Definition at line 1380 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ QLstmDescriptor()

QLstmDescriptor ( )
inline

Definition at line 1382 of file Descriptors.hpp.

1383  : m_CellClip(0.0)
1384  , m_ProjectionClip(0.0)
1385  , m_CifgEnabled(true)
1386  , m_PeepholeEnabled(false)
1387  , m_ProjectionEnabled(false)
1388  , m_LayerNormEnabled(false)
1394  , m_HiddenStateScale(0.0)
1395  {}

Member Function Documentation

◆ operator==()

bool operator== ( const QLstmDescriptor rhs) const
inline

Definition at line 1397 of file Descriptors.hpp.

1398  {
1399  return m_CellClip == rhs.m_CellClip &&
1400  m_ProjectionClip == rhs.m_ProjectionClip &&
1401  m_CifgEnabled == rhs.m_CifgEnabled &&
1402  m_PeepholeEnabled == rhs.m_PeepholeEnabled &&
1403  m_ProjectionEnabled == rhs.m_ProjectionEnabled &&
1404  m_LayerNormEnabled == rhs.m_LayerNormEnabled &&
1405  m_InputIntermediateScale == rhs.m_InputIntermediateScale &&
1406  m_ForgetIntermediateScale == rhs.m_ForgetIntermediateScale &&
1407  m_CellIntermediateScale == rhs.m_CellIntermediateScale &&
1408  m_OutputIntermediateScale == rhs.m_OutputIntermediateScale &&
1409  m_HiddenStateZeroPoint == rhs.m_HiddenStateZeroPoint &&
1410  m_HiddenStateScale == rhs.m_HiddenStateScale;
1411  }

References QLstmDescriptor::m_CellClip, QLstmDescriptor::m_CellIntermediateScale, QLstmDescriptor::m_CifgEnabled, QLstmDescriptor::m_ForgetIntermediateScale, QLstmDescriptor::m_HiddenStateScale, QLstmDescriptor::m_HiddenStateZeroPoint, QLstmDescriptor::m_InputIntermediateScale, QLstmDescriptor::m_LayerNormEnabled, QLstmDescriptor::m_OutputIntermediateScale, QLstmDescriptor::m_PeepholeEnabled, QLstmDescriptor::m_ProjectionClip, and QLstmDescriptor::m_ProjectionEnabled.

Member Data Documentation

◆ m_CellClip

float m_CellClip

Clipping threshold value for the cell state.

Definition at line 1414 of file Descriptors.hpp.

Referenced by IDeserializer::DeserializerImpl::GetQLstmDescriptor(), and QLstmDescriptor::operator==().

◆ m_CellIntermediateScale

float m_CellIntermediateScale

Cell intermediate quantization scale.

Definition at line 1430 of file Descriptors.hpp.

Referenced by IDeserializer::DeserializerImpl::GetQLstmDescriptor(), and QLstmDescriptor::operator==().

◆ m_CifgEnabled

◆ m_ForgetIntermediateScale

float m_ForgetIntermediateScale

Forget intermediate quantization scale.

Definition at line 1428 of file Descriptors.hpp.

Referenced by IDeserializer::DeserializerImpl::GetQLstmDescriptor(), and QLstmDescriptor::operator==().

◆ m_HiddenStateScale

float m_HiddenStateScale

◆ m_HiddenStateZeroPoint

int32_t m_HiddenStateZeroPoint

◆ m_InputIntermediateScale

float m_InputIntermediateScale

Input intermediate quantization scale.

Definition at line 1426 of file Descriptors.hpp.

Referenced by IDeserializer::DeserializerImpl::GetQLstmDescriptor(), and QLstmDescriptor::operator==().

◆ m_LayerNormEnabled

◆ m_OutputIntermediateScale

float m_OutputIntermediateScale

Output intermediate quantization scale.

Definition at line 1432 of file Descriptors.hpp.

Referenced by IDeserializer::DeserializerImpl::GetQLstmDescriptor(), and QLstmDescriptor::operator==().

◆ m_PeepholeEnabled

◆ m_ProjectionClip

float m_ProjectionClip

Clipping threshold value for the projection.

Definition at line 1416 of file Descriptors.hpp.

Referenced by IDeserializer::DeserializerImpl::GetQLstmDescriptor(), and QLstmDescriptor::operator==().

◆ m_ProjectionEnabled


The documentation for this struct was generated from the following file:
armnn::QLstmDescriptor::m_ForgetIntermediateScale
float m_ForgetIntermediateScale
Forget intermediate quantization scale.
Definition: Descriptors.hpp:1428
armnn::QLstmDescriptor::m_ProjectionEnabled
bool m_ProjectionEnabled
Enable/disable the projection layer.
Definition: Descriptors.hpp:1422
armnn::QLstmDescriptor::m_InputIntermediateScale
float m_InputIntermediateScale
Input intermediate quantization scale.
Definition: Descriptors.hpp:1426
armnn::QLstmDescriptor::m_CellIntermediateScale
float m_CellIntermediateScale
Cell intermediate quantization scale.
Definition: Descriptors.hpp:1430
armnn::QLstmDescriptor::m_ProjectionClip
float m_ProjectionClip
Clipping threshold value for the projection.
Definition: Descriptors.hpp:1416
armnn::QLstmDescriptor::m_OutputIntermediateScale
float m_OutputIntermediateScale
Output intermediate quantization scale.
Definition: Descriptors.hpp:1432
armnn::QLstmDescriptor::m_HiddenStateZeroPoint
int32_t m_HiddenStateZeroPoint
Hidden State zero point.
Definition: Descriptors.hpp:1434
armnn::QLstmDescriptor::m_CifgEnabled
bool m_CifgEnabled
Enable/disable CIFG (coupled input & forget gate).
Definition: Descriptors.hpp:1418
armnn::QLstmDescriptor::m_HiddenStateScale
float m_HiddenStateScale
Hidden State quantization scale.
Definition: Descriptors.hpp:1436
armnn::QLstmDescriptor::m_CellClip
float m_CellClip
Clipping threshold value for the cell state.
Definition: Descriptors.hpp:1414
armnn::QLstmDescriptor::m_LayerNormEnabled
bool m_LayerNormEnabled
Enable/disable layer normalization.
Definition: Descriptors.hpp:1424
armnn::QLstmDescriptor::m_PeepholeEnabled
bool m_PeepholeEnabled
Enable/disable peephole.
Definition: Descriptors.hpp:1420