ArmNN
 25.11
Loading...
Searching...
No Matches
QuantizedLstmInputParams Struct Reference

#include <QuantizedLstmParams.hpp>

Collaboration diagram for QuantizedLstmInputParams:
[legend]

Public Member Functions

 QuantizedLstmInputParams ()
const ConstTensorDeref (const ConstTensor *tensorPtr) const
const ConstTensorGetInputToInputWeights () const
const ConstTensorGetInputToForgetWeights () const
const ConstTensorGetInputToCellWeights () const
const ConstTensorGetInputToOutputWeights () const
const ConstTensorGetRecurrentToInputWeights () const
const ConstTensorGetRecurrentToForgetWeights () const
const ConstTensorGetRecurrentToCellWeights () const
const ConstTensorGetRecurrentToOutputWeights () const
const ConstTensorGetInputGateBias () const
const ConstTensorGetForgetGateBias () const
const ConstTensorGetCellBias () const
const ConstTensorGetOutputGateBias () const

Public Attributes

const ConstTensorm_InputToInputWeights
const ConstTensorm_InputToForgetWeights
const ConstTensorm_InputToCellWeights
const ConstTensorm_InputToOutputWeights
const ConstTensorm_RecurrentToInputWeights
const ConstTensorm_RecurrentToForgetWeights
const ConstTensorm_RecurrentToCellWeights
const ConstTensorm_RecurrentToOutputWeights
const ConstTensorm_InputGateBias
const ConstTensorm_ForgetGateBias
const ConstTensorm_CellBias
const ConstTensorm_OutputGateBias

Detailed Description

Definition at line 13 of file QuantizedLstmParams.hpp.

Constructor & Destructor Documentation

◆ QuantizedLstmInputParams()

Definition at line 15 of file QuantizedLstmParams.hpp.

16 : m_InputToInputWeights(nullptr)
17 , m_InputToForgetWeights(nullptr)
18 , m_InputToCellWeights(nullptr)
19 , m_InputToOutputWeights(nullptr)
20
21 , m_RecurrentToInputWeights(nullptr)
22 , m_RecurrentToForgetWeights(nullptr)
23 , m_RecurrentToCellWeights(nullptr)
24 , m_RecurrentToOutputWeights(nullptr)
25
26 , m_InputGateBias(nullptr)
27 , m_ForgetGateBias(nullptr)
28 , m_CellBias(nullptr)
29 , m_OutputGateBias(nullptr)
30 {
31 }

References m_CellBias, m_ForgetGateBias, m_InputGateBias, m_InputToCellWeights, m_InputToForgetWeights, m_InputToInputWeights, m_InputToOutputWeights, m_OutputGateBias, m_RecurrentToCellWeights, m_RecurrentToForgetWeights, m_RecurrentToInputWeights, and m_RecurrentToOutputWeights.

Member Function Documentation

◆ Deref()

const ConstTensor & Deref ( const ConstTensor * tensorPtr) const
inline

Definition at line 48 of file QuantizedLstmParams.hpp.

49 {
50 if (tensorPtr != nullptr)
51 {
52 const ConstTensor &temp = *tensorPtr;
53 return temp;
54 }
55 throw InvalidArgumentException("QuantizedLstmInputParams: Can't dereference a null pointer");
56 }

Referenced by GetCellBias(), GetForgetGateBias(), GetInputGateBias(), GetInputToCellWeights(), GetInputToForgetWeights(), GetInputToInputWeights(), GetInputToOutputWeights(), GetOutputGateBias(), GetRecurrentToCellWeights(), GetRecurrentToForgetWeights(), GetRecurrentToInputWeights(), and GetRecurrentToOutputWeights().

◆ GetCellBias()

const ConstTensor & GetCellBias ( ) const
inline

Definition at line 108 of file QuantizedLstmParams.hpp.

109 {
110 return Deref(m_CellBias);
111 }

References Deref(), and m_CellBias.

Referenced by NetworkImpl::AddQuantizedLstmLayer().

◆ GetForgetGateBias()

const ConstTensor & GetForgetGateBias ( ) const
inline

Definition at line 103 of file QuantizedLstmParams.hpp.

104 {
105 return Deref(m_ForgetGateBias);
106 }

References Deref(), and m_ForgetGateBias.

Referenced by NetworkImpl::AddQuantizedLstmLayer().

◆ GetInputGateBias()

const ConstTensor & GetInputGateBias ( ) const
inline

Definition at line 98 of file QuantizedLstmParams.hpp.

99 {
100 return Deref(m_InputGateBias);
101 }

References Deref(), and m_InputGateBias.

Referenced by NetworkImpl::AddQuantizedLstmLayer().

◆ GetInputToCellWeights()

const ConstTensor & GetInputToCellWeights ( ) const
inline

Definition at line 68 of file QuantizedLstmParams.hpp.

69 {
70 return Deref(m_InputToCellWeights);
71 }

References Deref(), and m_InputToCellWeights.

Referenced by NetworkImpl::AddQuantizedLstmLayer().

◆ GetInputToForgetWeights()

const ConstTensor & GetInputToForgetWeights ( ) const
inline

Definition at line 63 of file QuantizedLstmParams.hpp.

64 {
65 return Deref(m_InputToForgetWeights);
66 }

References Deref(), and m_InputToForgetWeights.

Referenced by NetworkImpl::AddQuantizedLstmLayer().

◆ GetInputToInputWeights()

const ConstTensor & GetInputToInputWeights ( ) const
inline

Definition at line 58 of file QuantizedLstmParams.hpp.

59 {
60 return Deref(m_InputToInputWeights);
61 }

References Deref(), and m_InputToInputWeights.

Referenced by NetworkImpl::AddQuantizedLstmLayer().

◆ GetInputToOutputWeights()

const ConstTensor & GetInputToOutputWeights ( ) const
inline

Definition at line 73 of file QuantizedLstmParams.hpp.

74 {
75 return Deref(m_InputToOutputWeights);
76 }

References Deref(), and m_InputToOutputWeights.

Referenced by NetworkImpl::AddQuantizedLstmLayer().

◆ GetOutputGateBias()

const ConstTensor & GetOutputGateBias ( ) const
inline

Definition at line 113 of file QuantizedLstmParams.hpp.

114 {
115 return Deref(m_OutputGateBias);
116 }

References Deref(), and m_OutputGateBias.

Referenced by NetworkImpl::AddQuantizedLstmLayer().

◆ GetRecurrentToCellWeights()

const ConstTensor & GetRecurrentToCellWeights ( ) const
inline

Definition at line 88 of file QuantizedLstmParams.hpp.

89 {
90 return Deref(m_RecurrentToCellWeights);
91 }

References Deref(), and m_RecurrentToCellWeights.

Referenced by NetworkImpl::AddQuantizedLstmLayer().

◆ GetRecurrentToForgetWeights()

const ConstTensor & GetRecurrentToForgetWeights ( ) const
inline

Definition at line 83 of file QuantizedLstmParams.hpp.

84 {
85 return Deref(m_RecurrentToForgetWeights);
86 }

References Deref(), and m_RecurrentToForgetWeights.

Referenced by NetworkImpl::AddQuantizedLstmLayer().

◆ GetRecurrentToInputWeights()

const ConstTensor & GetRecurrentToInputWeights ( ) const
inline

Definition at line 78 of file QuantizedLstmParams.hpp.

79 {
80 return Deref(m_RecurrentToInputWeights);
81 }

References Deref(), and m_RecurrentToInputWeights.

Referenced by NetworkImpl::AddQuantizedLstmLayer().

◆ GetRecurrentToOutputWeights()

const ConstTensor & GetRecurrentToOutputWeights ( ) const
inline

Definition at line 93 of file QuantizedLstmParams.hpp.

94 {
95 return Deref(m_RecurrentToOutputWeights);
96 }

References Deref(), and m_RecurrentToOutputWeights.

Referenced by NetworkImpl::AddQuantizedLstmLayer().

Member Data Documentation

◆ m_CellBias

const ConstTensor* m_CellBias

Definition at line 45 of file QuantizedLstmParams.hpp.

Referenced by GetCellBias(), and QuantizedLstmInputParams().

◆ m_ForgetGateBias

const ConstTensor* m_ForgetGateBias

Definition at line 44 of file QuantizedLstmParams.hpp.

Referenced by GetForgetGateBias(), and QuantizedLstmInputParams().

◆ m_InputGateBias

const ConstTensor* m_InputGateBias

Definition at line 43 of file QuantizedLstmParams.hpp.

Referenced by GetInputGateBias(), and QuantizedLstmInputParams().

◆ m_InputToCellWeights

const ConstTensor* m_InputToCellWeights

Definition at line 35 of file QuantizedLstmParams.hpp.

Referenced by GetInputToCellWeights(), and QuantizedLstmInputParams().

◆ m_InputToForgetWeights

const ConstTensor* m_InputToForgetWeights

Definition at line 34 of file QuantizedLstmParams.hpp.

Referenced by GetInputToForgetWeights(), and QuantizedLstmInputParams().

◆ m_InputToInputWeights

const ConstTensor* m_InputToInputWeights

Definition at line 33 of file QuantizedLstmParams.hpp.

Referenced by GetInputToInputWeights(), and QuantizedLstmInputParams().

◆ m_InputToOutputWeights

const ConstTensor* m_InputToOutputWeights

Definition at line 36 of file QuantizedLstmParams.hpp.

Referenced by GetInputToOutputWeights(), and QuantizedLstmInputParams().

◆ m_OutputGateBias

const ConstTensor* m_OutputGateBias

Definition at line 46 of file QuantizedLstmParams.hpp.

Referenced by GetOutputGateBias(), and QuantizedLstmInputParams().

◆ m_RecurrentToCellWeights

const ConstTensor* m_RecurrentToCellWeights

Definition at line 40 of file QuantizedLstmParams.hpp.

Referenced by GetRecurrentToCellWeights(), and QuantizedLstmInputParams().

◆ m_RecurrentToForgetWeights

const ConstTensor* m_RecurrentToForgetWeights

◆ m_RecurrentToInputWeights

const ConstTensor* m_RecurrentToInputWeights

Definition at line 38 of file QuantizedLstmParams.hpp.

Referenced by GetRecurrentToInputWeights(), and QuantizedLstmInputParams().

◆ m_RecurrentToOutputWeights

const ConstTensor* m_RecurrentToOutputWeights

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