ArmNN
 20.08
QLstmDescriptor Struct Reference

A QLstmDescriptor for the QLstmLayer. More...

#include <Descriptors.hpp>

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ QLstmDescriptor()

QLstmDescriptor ( )
inline

Definition at line 1138 of file Descriptors.hpp.

1139  : m_CellClip(0.0)
1140  , m_ProjectionClip(0.0)
1141  , m_CifgEnabled(true)
1142  , m_PeepholeEnabled(false)
1143  , m_ProjectionEnabled(false)
1144  , m_LayerNormEnabled(false)
1150  , m_HiddenStateScale(0.0)
1151  {}
bool m_PeepholeEnabled
Enable/disable peephole.
float m_HiddenStateScale
Hidden State quantization scale.
float m_OutputIntermediateScale
Output intermediate quantization scale.
bool m_LayerNormEnabled
Enable/disable layer normalization.
float m_ProjectionClip
Clipping threshold value for the projection.
float m_InputIntermediateScale
Input intermediate quantization scale.
float m_ForgetIntermediateScale
Forget intermediate quantization scale.
float m_CellClip
Clipping threshold value for the cell state.
bool m_ProjectionEnabled
Enable/disable the projection layer.
float m_CellIntermediateScale
Cell intermediate quantization scale.
bool m_CifgEnabled
Enable/disable CIFG (coupled input & forget gate).
int32_t m_HiddenStateZeroPoint
Hidden State zero point.

Member Function Documentation

◆ operator==()

bool operator== ( const QLstmDescriptor rhs) const
inline

Definition at line 1153 of file Descriptors.hpp.

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.

1154  {
1155  return m_CellClip == rhs.m_CellClip &&
1156  m_ProjectionClip == rhs.m_ProjectionClip &&
1157  m_CifgEnabled == rhs.m_CifgEnabled &&
1158  m_PeepholeEnabled == rhs.m_PeepholeEnabled &&
1159  m_ProjectionEnabled == rhs.m_ProjectionEnabled &&
1160  m_LayerNormEnabled == rhs.m_LayerNormEnabled &&
1161  m_InputIntermediateScale == rhs.m_InputIntermediateScale &&
1162  m_ForgetIntermediateScale == rhs.m_ForgetIntermediateScale &&
1163  m_CellIntermediateScale == rhs.m_CellIntermediateScale &&
1164  m_OutputIntermediateScale == rhs.m_OutputIntermediateScale &&
1165  m_HiddenStateZeroPoint == rhs.m_HiddenStateZeroPoint &&
1166  m_HiddenStateScale == rhs.m_HiddenStateScale;
1167  }
bool m_PeepholeEnabled
Enable/disable peephole.
float m_HiddenStateScale
Hidden State quantization scale.
float m_OutputIntermediateScale
Output intermediate quantization scale.
bool m_LayerNormEnabled
Enable/disable layer normalization.
float m_ProjectionClip
Clipping threshold value for the projection.
float m_InputIntermediateScale
Input intermediate quantization scale.
float m_ForgetIntermediateScale
Forget intermediate quantization scale.
float m_CellClip
Clipping threshold value for the cell state.
bool m_ProjectionEnabled
Enable/disable the projection layer.
float m_CellIntermediateScale
Cell intermediate quantization scale.
bool m_CifgEnabled
Enable/disable CIFG (coupled input & forget gate).
int32_t m_HiddenStateZeroPoint
Hidden State zero point.

Member Data Documentation

◆ m_CellClip

◆ m_CellIntermediateScale

float m_CellIntermediateScale

◆ m_CifgEnabled

◆ m_ForgetIntermediateScale

float m_ForgetIntermediateScale

◆ m_HiddenStateScale

◆ m_HiddenStateZeroPoint

◆ m_InputIntermediateScale

float m_InputIntermediateScale

◆ m_LayerNormEnabled

◆ m_OutputIntermediateScale

float m_OutputIntermediateScale

◆ m_PeepholeEnabled

◆ m_ProjectionClip

◆ m_ProjectionEnabled


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