ArmNN
 22.08
QuantizedLstmInputParamsInfo Struct Reference

#include <QuantizedLstmParams.hpp>

Public Member Functions

 QuantizedLstmInputParamsInfo ()
 
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 TensorInfoGetInputGateBias () const
 
const TensorInfoGetForgetGateBias () const
 
const TensorInfoGetCellBias () const
 
const TensorInfoGetOutputGateBias () 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_InputGateBias
 
const TensorInfom_ForgetGateBias
 
const TensorInfom_CellBias
 
const TensorInfom_OutputGateBias
 

Detailed Description

Definition at line 119 of file QuantizedLstmParams.hpp.

Constructor & Destructor Documentation

◆ QuantizedLstmInputParamsInfo()

Definition at line 121 of file QuantizedLstmParams.hpp.

122  : m_InputToInputWeights(nullptr)
123  , m_InputToForgetWeights(nullptr)
124  , m_InputToCellWeights(nullptr)
125  , m_InputToOutputWeights(nullptr)
126 
127  , m_RecurrentToInputWeights(nullptr)
128  , m_RecurrentToForgetWeights(nullptr)
129  , m_RecurrentToCellWeights(nullptr)
130  , m_RecurrentToOutputWeights(nullptr)
131 
132  , m_InputGateBias(nullptr)
133  , m_ForgetGateBias(nullptr)
134  , m_CellBias(nullptr)
135  , m_OutputGateBias(nullptr)
136  {
137  }

Member Function Documentation

◆ Deref()

const TensorInfo& Deref ( const TensorInfo tensorInfo) const
inline

Definition at line 155 of file QuantizedLstmParams.hpp.

156  {
157  if (tensorInfo != nullptr)
158  {
159  const TensorInfo &temp = *tensorInfo;
160  return temp;
161  }
162  throw InvalidArgumentException("Can't dereference a null pointer");
163  }

◆ GetCellBias()

const TensorInfo& GetCellBias ( ) const
inline

Definition at line 207 of file QuantizedLstmParams.hpp.

References QuantizedLstmInputParams::Deref().

208  {
209  return Deref(m_CellBias);
210  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const

◆ GetForgetGateBias()

const TensorInfo& GetForgetGateBias ( ) const
inline

Definition at line 203 of file QuantizedLstmParams.hpp.

References QuantizedLstmInputParams::Deref().

204  {
205  return Deref(m_ForgetGateBias);
206  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const

◆ GetInputGateBias()

const TensorInfo& GetInputGateBias ( ) const
inline

Definition at line 199 of file QuantizedLstmParams.hpp.

References QuantizedLstmInputParams::Deref().

200  {
201  return Deref(m_InputGateBias);
202  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const

◆ GetInputToCellWeights()

const TensorInfo& GetInputToCellWeights ( ) const
inline

Definition at line 173 of file QuantizedLstmParams.hpp.

References QuantizedLstmInputParams::Deref().

174  {
175  return Deref(m_InputToCellWeights);
176  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const

◆ GetInputToForgetWeights()

const TensorInfo& GetInputToForgetWeights ( ) const
inline

Definition at line 169 of file QuantizedLstmParams.hpp.

References QuantizedLstmInputParams::Deref().

170  {
172  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const

◆ GetInputToInputWeights()

const TensorInfo& GetInputToInputWeights ( ) const
inline

Definition at line 165 of file QuantizedLstmParams.hpp.

References QuantizedLstmInputParams::Deref().

166  {
168  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const

◆ GetInputToOutputWeights()

const TensorInfo& GetInputToOutputWeights ( ) const
inline

Definition at line 177 of file QuantizedLstmParams.hpp.

References QuantizedLstmInputParams::Deref().

178  {
180  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const

◆ GetOutputGateBias()

const TensorInfo& GetOutputGateBias ( ) const
inline

Definition at line 211 of file QuantizedLstmParams.hpp.

References QuantizedLstmInputParams::Deref().

212  {
213  return Deref(m_OutputGateBias);
214  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const

◆ GetRecurrentToCellWeights()

const TensorInfo& GetRecurrentToCellWeights ( ) const
inline

Definition at line 190 of file QuantizedLstmParams.hpp.

References QuantizedLstmInputParams::Deref().

191  {
193  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const

◆ GetRecurrentToForgetWeights()

const TensorInfo& GetRecurrentToForgetWeights ( ) const
inline

Definition at line 186 of file QuantizedLstmParams.hpp.

References QuantizedLstmInputParams::Deref().

187  {
189  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const

◆ GetRecurrentToInputWeights()

const TensorInfo& GetRecurrentToInputWeights ( ) const
inline

Definition at line 182 of file QuantizedLstmParams.hpp.

References QuantizedLstmInputParams::Deref().

183  {
185  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const

◆ GetRecurrentToOutputWeights()

const TensorInfo& GetRecurrentToOutputWeights ( ) const
inline

Definition at line 194 of file QuantizedLstmParams.hpp.

References QuantizedLstmInputParams::Deref().

195  {
197  }
const TensorInfo & Deref(const TensorInfo *tensorInfo) const

Member Data Documentation

◆ m_CellBias

const TensorInfo* m_CellBias

Definition at line 151 of file QuantizedLstmParams.hpp.

◆ m_ForgetGateBias

const TensorInfo* m_ForgetGateBias

Definition at line 150 of file QuantizedLstmParams.hpp.

◆ m_InputGateBias

const TensorInfo* m_InputGateBias

Definition at line 149 of file QuantizedLstmParams.hpp.

◆ m_InputToCellWeights

const TensorInfo* m_InputToCellWeights

Definition at line 141 of file QuantizedLstmParams.hpp.

◆ m_InputToForgetWeights

const TensorInfo* m_InputToForgetWeights

Definition at line 140 of file QuantizedLstmParams.hpp.

◆ m_InputToInputWeights

const TensorInfo* m_InputToInputWeights

Definition at line 139 of file QuantizedLstmParams.hpp.

◆ m_InputToOutputWeights

const TensorInfo* m_InputToOutputWeights

Definition at line 142 of file QuantizedLstmParams.hpp.

◆ m_OutputGateBias

const TensorInfo* m_OutputGateBias

Definition at line 152 of file QuantizedLstmParams.hpp.

◆ m_RecurrentToCellWeights

const TensorInfo* m_RecurrentToCellWeights

Definition at line 146 of file QuantizedLstmParams.hpp.

◆ m_RecurrentToForgetWeights

const TensorInfo* m_RecurrentToForgetWeights

Definition at line 145 of file QuantizedLstmParams.hpp.

◆ m_RecurrentToInputWeights

const TensorInfo* m_RecurrentToInputWeights

Definition at line 144 of file QuantizedLstmParams.hpp.

◆ m_RecurrentToOutputWeights

const TensorInfo* m_RecurrentToOutputWeights

Definition at line 147 of file QuantizedLstmParams.hpp.


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