ArmNN
 22.02
LstmInputParamsInfo Struct Reference

#include <LstmParams.hpp>

Public Member Functions

 LstmInputParamsInfo ()
 
const TensorInfoDeref (const TensorInfo *tensorInfo) const
 
const TensorInfoGetInputToInputWeights () const
 
const TensorInfoGetInputToForgetWeights () const
 
const TensorInfoGetInputToCellWeights () const
 
const TensorInfoGetInputToOutputWeights () const
 
const TensorInfoGetRecurrentToInputWeights () const
 
const TensorInfoGetRecurrentToForgetWeights () const
 
const TensorInfoGetRecurrentToCellWeights () const
 
const TensorInfoGetRecurrentToOutputWeights () const
 
const TensorInfoGetCellToInputWeights () const
 
const TensorInfoGetCellToForgetWeights () const
 
const TensorInfoGetCellToOutputWeights () const
 
const TensorInfoGetInputGateBias () const
 
const TensorInfoGetForgetGateBias () const
 
const TensorInfoGetCellBias () const
 
const TensorInfoGetOutputGateBias () const
 
const TensorInfoGetProjectionWeights () const
 
const TensorInfoGetProjectionBias () const
 
const TensorInfoGetInputLayerNormWeights () const
 
const TensorInfoGetForgetLayerNormWeights () const
 
const TensorInfoGetCellLayerNormWeights () const
 
const TensorInfoGetOutputLayerNormWeights () const
 

Public Attributes

const TensorInfom_InputToInputWeights
 
const TensorInfom_InputToForgetWeights
 
const TensorInfom_InputToCellWeights
 
const TensorInfom_InputToOutputWeights
 
const TensorInfom_RecurrentToInputWeights
 
const TensorInfom_RecurrentToForgetWeights
 
const TensorInfom_RecurrentToCellWeights
 
const TensorInfom_RecurrentToOutputWeights
 
const TensorInfom_CellToInputWeights
 
const TensorInfom_CellToForgetWeights
 
const TensorInfom_CellToOutputWeights
 
const TensorInfom_InputGateBias
 
const TensorInfom_ForgetGateBias
 
const TensorInfom_CellBias
 
const TensorInfom_OutputGateBias
 
const TensorInfom_ProjectionWeights
 
const TensorInfom_ProjectionBias
 
const TensorInfom_InputLayerNormWeights
 
const TensorInfom_ForgetLayerNormWeights
 
const TensorInfom_CellLayerNormWeights
 
const TensorInfom_OutputLayerNormWeights
 

Detailed Description

Definition at line 63 of file LstmParams.hpp.

Constructor & Destructor Documentation

◆ LstmInputParamsInfo()

LstmInputParamsInfo ( )
inline

Definition at line 65 of file LstmParams.hpp.

66  : m_InputToInputWeights(nullptr)
67  , m_InputToForgetWeights(nullptr)
68  , m_InputToCellWeights(nullptr)
69  , m_InputToOutputWeights(nullptr)
70  , m_RecurrentToInputWeights(nullptr)
72  , m_RecurrentToCellWeights(nullptr)
74  , m_CellToInputWeights(nullptr)
75  , m_CellToForgetWeights(nullptr)
76  , m_CellToOutputWeights(nullptr)
77  , m_InputGateBias(nullptr)
78  , m_ForgetGateBias(nullptr)
79  , m_CellBias(nullptr)
80  , m_OutputGateBias(nullptr)
81  , m_ProjectionWeights(nullptr)
82  , m_ProjectionBias(nullptr)
83  , m_InputLayerNormWeights(nullptr)
84  , m_ForgetLayerNormWeights(nullptr)
85  , m_CellLayerNormWeights(nullptr)
86  , m_OutputLayerNormWeights(nullptr)
87  {
88  }
const TensorInfo * m_InputLayerNormWeights
Definition: LstmParams.hpp:106
const TensorInfo * m_OutputGateBias
Definition: LstmParams.hpp:103
const TensorInfo * m_ProjectionWeights
Definition: LstmParams.hpp:104
const TensorInfo * m_ForgetLayerNormWeights
Definition: LstmParams.hpp:107
const TensorInfo * m_ForgetGateBias
Definition: LstmParams.hpp:101
const TensorInfo * m_OutputLayerNormWeights
Definition: LstmParams.hpp:109
const TensorInfo * m_RecurrentToCellWeights
Definition: LstmParams.hpp:95
const TensorInfo * m_InputToCellWeights
Definition: LstmParams.hpp:91
const TensorInfo * m_RecurrentToInputWeights
Definition: LstmParams.hpp:93
const TensorInfo * m_RecurrentToOutputWeights
Definition: LstmParams.hpp:96
const TensorInfo * m_CellToOutputWeights
Definition: LstmParams.hpp:99
const TensorInfo * m_CellLayerNormWeights
Definition: LstmParams.hpp:108
const TensorInfo * m_InputToForgetWeights
Definition: LstmParams.hpp:90
const TensorInfo * m_ProjectionBias
Definition: LstmParams.hpp:105
const TensorInfo * m_CellToInputWeights
Definition: LstmParams.hpp:97
const TensorInfo * m_InputGateBias
Definition: LstmParams.hpp:100
const TensorInfo * m_InputToOutputWeights
Definition: LstmParams.hpp:92
const TensorInfo * m_InputToInputWeights
Definition: LstmParams.hpp:89
const TensorInfo * m_CellToForgetWeights
Definition: LstmParams.hpp:98
const TensorInfo * m_RecurrentToForgetWeights
Definition: LstmParams.hpp:94
const TensorInfo * m_CellBias
Definition: LstmParams.hpp:102

Member Function Documentation

◆ Deref()

const TensorInfo& Deref ( const TensorInfo tensorInfo) const
inline

Definition at line 111 of file LstmParams.hpp.

112  {
113  if (tensorInfo != nullptr)
114  {
115  const TensorInfo &temp = *tensorInfo;
116  return temp;
117  }
118  throw InvalidArgumentException("Can't dereference a null pointer");
119  }

◆ GetCellBias()

const TensorInfo& GetCellBias ( ) const
inline

Definition at line 173 of file LstmParams.hpp.

Referenced by RefLayerSupport::IsLstmSupported(), and RefLayerSupport::IsUnidirectionalSequenceLstmSupported().

174  {
175  return Deref(m_CellBias);
176  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const
Definition: LstmParams.hpp:111
const TensorInfo * m_CellBias
Definition: LstmParams.hpp:102

◆ GetCellLayerNormWeights()

const TensorInfo& GetCellLayerNormWeights ( ) const
inline

Definition at line 197 of file LstmParams.hpp.

Referenced by RefLayerSupport::IsLstmSupported(), and RefLayerSupport::IsUnidirectionalSequenceLstmSupported().

198  {
200  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const
Definition: LstmParams.hpp:111
const TensorInfo * m_CellLayerNormWeights
Definition: LstmParams.hpp:108

◆ GetCellToForgetWeights()

const TensorInfo& GetCellToForgetWeights ( ) const
inline

Definition at line 157 of file LstmParams.hpp.

Referenced by RefLayerSupport::IsLstmSupported(), and RefLayerSupport::IsUnidirectionalSequenceLstmSupported().

158  {
160  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const
Definition: LstmParams.hpp:111
const TensorInfo * m_CellToForgetWeights
Definition: LstmParams.hpp:98

◆ GetCellToInputWeights()

const TensorInfo& GetCellToInputWeights ( ) const
inline

Definition at line 153 of file LstmParams.hpp.

Referenced by RefLayerSupport::IsLstmSupported(), and RefLayerSupport::IsUnidirectionalSequenceLstmSupported().

154  {
155  return Deref(m_CellToInputWeights);
156  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const
Definition: LstmParams.hpp:111
const TensorInfo * m_CellToInputWeights
Definition: LstmParams.hpp:97

◆ GetCellToOutputWeights()

const TensorInfo& GetCellToOutputWeights ( ) const
inline

Definition at line 161 of file LstmParams.hpp.

Referenced by RefLayerSupport::IsLstmSupported(), and RefLayerSupport::IsUnidirectionalSequenceLstmSupported().

162  {
164  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const
Definition: LstmParams.hpp:111
const TensorInfo * m_CellToOutputWeights
Definition: LstmParams.hpp:99

◆ GetForgetGateBias()

const TensorInfo& GetForgetGateBias ( ) const
inline

Definition at line 169 of file LstmParams.hpp.

Referenced by RefLayerSupport::IsLstmSupported(), and RefLayerSupport::IsUnidirectionalSequenceLstmSupported().

170  {
171  return Deref(m_ForgetGateBias);
172  }
const TensorInfo * m_ForgetGateBias
Definition: LstmParams.hpp:101
const TensorInfo & Deref(const TensorInfo *tensorInfo) const
Definition: LstmParams.hpp:111

◆ GetForgetLayerNormWeights()

const TensorInfo& GetForgetLayerNormWeights ( ) const
inline

Definition at line 193 of file LstmParams.hpp.

Referenced by RefLayerSupport::IsLstmSupported(), and RefLayerSupport::IsUnidirectionalSequenceLstmSupported().

194  {
196  }
const TensorInfo * m_ForgetLayerNormWeights
Definition: LstmParams.hpp:107
const TensorInfo & Deref(const TensorInfo *tensorInfo) const
Definition: LstmParams.hpp:111

◆ GetInputGateBias()

const TensorInfo& GetInputGateBias ( ) const
inline

Definition at line 165 of file LstmParams.hpp.

Referenced by RefLayerSupport::IsLstmSupported(), and RefLayerSupport::IsUnidirectionalSequenceLstmSupported().

166  {
167  return Deref(m_InputGateBias);
168  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const
Definition: LstmParams.hpp:111
const TensorInfo * m_InputGateBias
Definition: LstmParams.hpp:100

◆ GetInputLayerNormWeights()

const TensorInfo& GetInputLayerNormWeights ( ) const
inline

Definition at line 189 of file LstmParams.hpp.

Referenced by RefLayerSupport::IsLstmSupported(), and RefLayerSupport::IsUnidirectionalSequenceLstmSupported().

190  {
192  }
const TensorInfo * m_InputLayerNormWeights
Definition: LstmParams.hpp:106
const TensorInfo & Deref(const TensorInfo *tensorInfo) const
Definition: LstmParams.hpp:111

◆ GetInputToCellWeights()

const TensorInfo& GetInputToCellWeights ( ) const
inline

Definition at line 129 of file LstmParams.hpp.

Referenced by RefLayerSupport::IsLstmSupported(), and RefLayerSupport::IsUnidirectionalSequenceLstmSupported().

130  {
131  return Deref(m_InputToCellWeights);
132  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const
Definition: LstmParams.hpp:111
const TensorInfo * m_InputToCellWeights
Definition: LstmParams.hpp:91

◆ GetInputToForgetWeights()

const TensorInfo& GetInputToForgetWeights ( ) const
inline

Definition at line 125 of file LstmParams.hpp.

Referenced by RefLayerSupport::IsLstmSupported(), and RefLayerSupport::IsUnidirectionalSequenceLstmSupported().

126  {
128  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const
Definition: LstmParams.hpp:111
const TensorInfo * m_InputToForgetWeights
Definition: LstmParams.hpp:90

◆ GetInputToInputWeights()

const TensorInfo& GetInputToInputWeights ( ) const
inline

Definition at line 121 of file LstmParams.hpp.

Referenced by RefLayerSupport::IsLstmSupported(), and RefLayerSupport::IsUnidirectionalSequenceLstmSupported().

122  {
124  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const
Definition: LstmParams.hpp:111
const TensorInfo * m_InputToInputWeights
Definition: LstmParams.hpp:89

◆ GetInputToOutputWeights()

const TensorInfo& GetInputToOutputWeights ( ) const
inline

Definition at line 133 of file LstmParams.hpp.

Referenced by RefLayerSupport::IsLstmSupported(), and RefLayerSupport::IsUnidirectionalSequenceLstmSupported().

134  {
136  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const
Definition: LstmParams.hpp:111
const TensorInfo * m_InputToOutputWeights
Definition: LstmParams.hpp:92

◆ GetOutputGateBias()

const TensorInfo& GetOutputGateBias ( ) const
inline

Definition at line 177 of file LstmParams.hpp.

Referenced by RefLayerSupport::IsLstmSupported(), and RefLayerSupport::IsUnidirectionalSequenceLstmSupported().

178  {
179  return Deref(m_OutputGateBias);
180  }
const TensorInfo * m_OutputGateBias
Definition: LstmParams.hpp:103
const TensorInfo & Deref(const TensorInfo *tensorInfo) const
Definition: LstmParams.hpp:111

◆ GetOutputLayerNormWeights()

const TensorInfo& GetOutputLayerNormWeights ( ) const
inline

Definition at line 201 of file LstmParams.hpp.

Referenced by RefLayerSupport::IsLstmSupported(), and RefLayerSupport::IsUnidirectionalSequenceLstmSupported().

202  {
204  }
const TensorInfo * m_OutputLayerNormWeights
Definition: LstmParams.hpp:109
const TensorInfo & Deref(const TensorInfo *tensorInfo) const
Definition: LstmParams.hpp:111

◆ GetProjectionBias()

const TensorInfo& GetProjectionBias ( ) const
inline

Definition at line 185 of file LstmParams.hpp.

Referenced by RefLayerSupport::IsLstmSupported(), and RefLayerSupport::IsUnidirectionalSequenceLstmSupported().

186  {
187  return Deref(m_ProjectionBias);
188  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const
Definition: LstmParams.hpp:111
const TensorInfo * m_ProjectionBias
Definition: LstmParams.hpp:105

◆ GetProjectionWeights()

const TensorInfo& GetProjectionWeights ( ) const
inline

Definition at line 181 of file LstmParams.hpp.

Referenced by RefLayerSupport::IsLstmSupported(), and RefLayerSupport::IsUnidirectionalSequenceLstmSupported().

182  {
183  return Deref(m_ProjectionWeights);
184  }
const TensorInfo * m_ProjectionWeights
Definition: LstmParams.hpp:104
const TensorInfo & Deref(const TensorInfo *tensorInfo) const
Definition: LstmParams.hpp:111

◆ GetRecurrentToCellWeights()

const TensorInfo& GetRecurrentToCellWeights ( ) const
inline

Definition at line 145 of file LstmParams.hpp.

Referenced by RefLayerSupport::IsLstmSupported(), and RefLayerSupport::IsUnidirectionalSequenceLstmSupported().

146  {
148  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const
Definition: LstmParams.hpp:111
const TensorInfo * m_RecurrentToCellWeights
Definition: LstmParams.hpp:95

◆ GetRecurrentToForgetWeights()

const TensorInfo& GetRecurrentToForgetWeights ( ) const
inline

Definition at line 141 of file LstmParams.hpp.

Referenced by RefLayerSupport::IsLstmSupported(), and RefLayerSupport::IsUnidirectionalSequenceLstmSupported().

142  {
144  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const
Definition: LstmParams.hpp:111
const TensorInfo * m_RecurrentToForgetWeights
Definition: LstmParams.hpp:94

◆ GetRecurrentToInputWeights()

const TensorInfo& GetRecurrentToInputWeights ( ) const
inline

Definition at line 137 of file LstmParams.hpp.

Referenced by RefLayerSupport::IsLstmSupported(), and RefLayerSupport::IsUnidirectionalSequenceLstmSupported().

138  {
140  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const
Definition: LstmParams.hpp:111
const TensorInfo * m_RecurrentToInputWeights
Definition: LstmParams.hpp:93

◆ GetRecurrentToOutputWeights()

const TensorInfo& GetRecurrentToOutputWeights ( ) const
inline

Definition at line 149 of file LstmParams.hpp.

Referenced by RefLayerSupport::IsLstmSupported(), and RefLayerSupport::IsUnidirectionalSequenceLstmSupported().

150  {
152  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const
Definition: LstmParams.hpp:111
const TensorInfo * m_RecurrentToOutputWeights
Definition: LstmParams.hpp:96

Member Data Documentation

◆ m_CellBias

const TensorInfo* m_CellBias

Definition at line 102 of file LstmParams.hpp.

◆ m_CellLayerNormWeights

const TensorInfo* m_CellLayerNormWeights

Definition at line 108 of file LstmParams.hpp.

◆ m_CellToForgetWeights

const TensorInfo* m_CellToForgetWeights

Definition at line 98 of file LstmParams.hpp.

◆ m_CellToInputWeights

const TensorInfo* m_CellToInputWeights

Definition at line 97 of file LstmParams.hpp.

◆ m_CellToOutputWeights

const TensorInfo* m_CellToOutputWeights

Definition at line 99 of file LstmParams.hpp.

◆ m_ForgetGateBias

const TensorInfo* m_ForgetGateBias

Definition at line 101 of file LstmParams.hpp.

◆ m_ForgetLayerNormWeights

const TensorInfo* m_ForgetLayerNormWeights

Definition at line 107 of file LstmParams.hpp.

◆ m_InputGateBias

const TensorInfo* m_InputGateBias

Definition at line 100 of file LstmParams.hpp.

◆ m_InputLayerNormWeights

const TensorInfo* m_InputLayerNormWeights

Definition at line 106 of file LstmParams.hpp.

◆ m_InputToCellWeights

const TensorInfo* m_InputToCellWeights

Definition at line 91 of file LstmParams.hpp.

◆ m_InputToForgetWeights

const TensorInfo* m_InputToForgetWeights

Definition at line 90 of file LstmParams.hpp.

◆ m_InputToInputWeights

const TensorInfo* m_InputToInputWeights

Definition at line 89 of file LstmParams.hpp.

◆ m_InputToOutputWeights

const TensorInfo* m_InputToOutputWeights

Definition at line 92 of file LstmParams.hpp.

◆ m_OutputGateBias

const TensorInfo* m_OutputGateBias

Definition at line 103 of file LstmParams.hpp.

◆ m_OutputLayerNormWeights

const TensorInfo* m_OutputLayerNormWeights

Definition at line 109 of file LstmParams.hpp.

◆ m_ProjectionBias

const TensorInfo* m_ProjectionBias

◆ m_ProjectionWeights

const TensorInfo* m_ProjectionWeights

Definition at line 104 of file LstmParams.hpp.

◆ m_RecurrentToCellWeights

const TensorInfo* m_RecurrentToCellWeights

Definition at line 95 of file LstmParams.hpp.

◆ m_RecurrentToForgetWeights

const TensorInfo* m_RecurrentToForgetWeights

Definition at line 94 of file LstmParams.hpp.

◆ m_RecurrentToInputWeights

const TensorInfo* m_RecurrentToInputWeights

Definition at line 93 of file LstmParams.hpp.

◆ m_RecurrentToOutputWeights

const TensorInfo* m_RecurrentToOutputWeights

Definition at line 96 of file LstmParams.hpp.


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