ArmNN
 25.11
Loading...
Searching...
No Matches
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.
float m_ProjectionClip
 Clipping threshold value for the projection.
bool m_CifgEnabled
 Enable/disable CIFG (coupled input & forget gate).
bool m_PeepholeEnabled
 Enable/disable peephole.
bool m_ProjectionEnabled
 Enable/disable the projection layer.
bool m_LayerNormEnabled
 Enable/disable layer normalization.
float m_InputIntermediateScale
 Input intermediate quantization scale.
float m_ForgetIntermediateScale
 Forget intermediate quantization scale.
float m_CellIntermediateScale
 Cell intermediate quantization scale.
float m_OutputIntermediateScale
 Output intermediate quantization scale.
int32_t m_HiddenStateZeroPoint
 Hidden State zero point.
float m_HiddenStateScale
 Hidden State quantization scale.

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)
1389 , m_InputIntermediateScale(0.0)
1390 , m_ForgetIntermediateScale(0.0)
1391 , m_CellIntermediateScale(0.0)
1392 , m_OutputIntermediateScale(0.0)
1393 , m_HiddenStateZeroPoint(0)
1394 , m_HiddenStateScale(0.0)
1395 {}

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

Referenced by operator==().

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 m_CellClip, m_CellIntermediateScale, m_CifgEnabled, m_ForgetIntermediateScale, m_HiddenStateScale, m_HiddenStateZeroPoint, m_InputIntermediateScale, m_LayerNormEnabled, m_OutputIntermediateScale, m_PeepholeEnabled, m_ProjectionClip, m_ProjectionEnabled, and QLstmDescriptor().

Member Data Documentation

◆ m_CellClip

float m_CellClip

◆ m_CellIntermediateScale

float m_CellIntermediateScale

◆ m_CifgEnabled

bool m_CifgEnabled

◆ m_ForgetIntermediateScale

float m_ForgetIntermediateScale

◆ m_HiddenStateScale

float m_HiddenStateScale

◆ m_HiddenStateZeroPoint

int32_t m_HiddenStateZeroPoint

◆ m_InputIntermediateScale

float m_InputIntermediateScale

◆ m_LayerNormEnabled

◆ m_OutputIntermediateScale

float m_OutputIntermediateScale

◆ m_PeepholeEnabled

◆ m_ProjectionClip

float m_ProjectionClip

◆ m_ProjectionEnabled


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