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

#include <QuantizedLstmParams.hpp>

Collaboration diagram for QuantizedLstmInputParamsInfo:
[legend]

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 }

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 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 }

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

◆ GetCellBias()

const TensorInfo & GetCellBias ( ) const
inline

Definition at line 207 of file QuantizedLstmParams.hpp.

208 {
209 return Deref(m_CellBias);
210 }

References Deref(), and m_CellBias.

Referenced by armnn::ClQuantizedLstmWorkloadValidate(), and armnn::NeonQuantizedLstmWorkloadValidate().

◆ GetForgetGateBias()

const TensorInfo & GetForgetGateBias ( ) const
inline

Definition at line 203 of file QuantizedLstmParams.hpp.

204 {
205 return Deref(m_ForgetGateBias);
206 }

References Deref(), and m_ForgetGateBias.

Referenced by armnn::ClQuantizedLstmWorkloadValidate(), and armnn::NeonQuantizedLstmWorkloadValidate().

◆ GetInputGateBias()

const TensorInfo & GetInputGateBias ( ) const
inline

Definition at line 199 of file QuantizedLstmParams.hpp.

200 {
201 return Deref(m_InputGateBias);
202 }

References Deref(), and m_InputGateBias.

Referenced by armnn::ClQuantizedLstmWorkloadValidate(), and armnn::NeonQuantizedLstmWorkloadValidate().

◆ GetInputToCellWeights()

const TensorInfo & GetInputToCellWeights ( ) const
inline

Definition at line 173 of file QuantizedLstmParams.hpp.

174 {
175 return Deref(m_InputToCellWeights);
176 }

References Deref(), and m_InputToCellWeights.

Referenced by armnn::ClQuantizedLstmWorkloadValidate(), and armnn::NeonQuantizedLstmWorkloadValidate().

◆ GetInputToForgetWeights()

const TensorInfo & GetInputToForgetWeights ( ) const
inline

Definition at line 169 of file QuantizedLstmParams.hpp.

170 {
171 return Deref(m_InputToForgetWeights);
172 }

References Deref(), and m_InputToForgetWeights.

Referenced by armnn::ClQuantizedLstmWorkloadValidate(), and armnn::NeonQuantizedLstmWorkloadValidate().

◆ GetInputToInputWeights()

const TensorInfo & GetInputToInputWeights ( ) const
inline

Definition at line 165 of file QuantizedLstmParams.hpp.

166 {
167 return Deref(m_InputToInputWeights);
168 }

References Deref(), and m_InputToInputWeights.

Referenced by armnn::ClQuantizedLstmWorkloadValidate(), and armnn::NeonQuantizedLstmWorkloadValidate().

◆ GetInputToOutputWeights()

const TensorInfo & GetInputToOutputWeights ( ) const
inline

Definition at line 177 of file QuantizedLstmParams.hpp.

178 {
179 return Deref(m_InputToOutputWeights);
180 }

References Deref(), and m_InputToOutputWeights.

Referenced by armnn::ClQuantizedLstmWorkloadValidate(), and armnn::NeonQuantizedLstmWorkloadValidate().

◆ GetOutputGateBias()

const TensorInfo & GetOutputGateBias ( ) const
inline

Definition at line 211 of file QuantizedLstmParams.hpp.

212 {
213 return Deref(m_OutputGateBias);
214 }

References Deref(), and m_OutputGateBias.

Referenced by armnn::ClQuantizedLstmWorkloadValidate(), and armnn::NeonQuantizedLstmWorkloadValidate().

◆ GetRecurrentToCellWeights()

const TensorInfo & GetRecurrentToCellWeights ( ) const
inline

Definition at line 190 of file QuantizedLstmParams.hpp.

191 {
192 return Deref(m_RecurrentToCellWeights);
193 }

References Deref(), and m_RecurrentToCellWeights.

Referenced by armnn::ClQuantizedLstmWorkloadValidate(), and armnn::NeonQuantizedLstmWorkloadValidate().

◆ GetRecurrentToForgetWeights()

const TensorInfo & GetRecurrentToForgetWeights ( ) const
inline

Definition at line 186 of file QuantizedLstmParams.hpp.

187 {
188 return Deref(m_RecurrentToForgetWeights);
189 }

References Deref(), and m_RecurrentToForgetWeights.

Referenced by armnn::ClQuantizedLstmWorkloadValidate(), and armnn::NeonQuantizedLstmWorkloadValidate().

◆ GetRecurrentToInputWeights()

const TensorInfo & GetRecurrentToInputWeights ( ) const
inline

Definition at line 182 of file QuantizedLstmParams.hpp.

183 {
184 return Deref(m_RecurrentToInputWeights);
185 }

References Deref(), and m_RecurrentToInputWeights.

Referenced by armnn::ClQuantizedLstmWorkloadValidate(), and armnn::NeonQuantizedLstmWorkloadValidate().

◆ GetRecurrentToOutputWeights()

const TensorInfo & GetRecurrentToOutputWeights ( ) const
inline

Definition at line 194 of file QuantizedLstmParams.hpp.

195 {
196 return Deref(m_RecurrentToOutputWeights);
197 }

References Deref(), and m_RecurrentToOutputWeights.

Referenced by armnn::ClQuantizedLstmWorkloadValidate(), and armnn::NeonQuantizedLstmWorkloadValidate().

Member Data Documentation

◆ m_CellBias

const TensorInfo* m_CellBias

Definition at line 151 of file QuantizedLstmParams.hpp.

Referenced by GetCellBias(), and QuantizedLstmInputParamsInfo().

◆ m_ForgetGateBias

const TensorInfo* m_ForgetGateBias

Definition at line 150 of file QuantizedLstmParams.hpp.

Referenced by GetForgetGateBias(), and QuantizedLstmInputParamsInfo().

◆ m_InputGateBias

const TensorInfo* m_InputGateBias

Definition at line 149 of file QuantizedLstmParams.hpp.

Referenced by GetInputGateBias(), and QuantizedLstmInputParamsInfo().

◆ m_InputToCellWeights

const TensorInfo* m_InputToCellWeights

Definition at line 141 of file QuantizedLstmParams.hpp.

Referenced by GetInputToCellWeights(), and QuantizedLstmInputParamsInfo().

◆ m_InputToForgetWeights

const TensorInfo* m_InputToForgetWeights

◆ m_InputToInputWeights

const TensorInfo* m_InputToInputWeights

◆ m_InputToOutputWeights

const TensorInfo* m_InputToOutputWeights

◆ m_OutputGateBias

const TensorInfo* m_OutputGateBias

Definition at line 152 of file QuantizedLstmParams.hpp.

Referenced by GetOutputGateBias(), and QuantizedLstmInputParamsInfo().

◆ m_RecurrentToCellWeights

const TensorInfo* m_RecurrentToCellWeights

◆ m_RecurrentToForgetWeights

const TensorInfo* m_RecurrentToForgetWeights

◆ m_RecurrentToInputWeights

const TensorInfo* m_RecurrentToInputWeights

◆ m_RecurrentToOutputWeights

const TensorInfo* m_RecurrentToOutputWeights

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