ArmNN
 22.11
QLstmQueueDescriptor Struct Reference

#include <WorkloadData.hpp>

Inheritance diagram for QLstmQueueDescriptor:
QueueDescriptorWithParameters< QLstmDescriptor > QueueDescriptor

Public Member Functions

 QLstmQueueDescriptor ()
 
void Validate (const WorkloadInfo &workloadInfo) const
 
- Public Member Functions inherited from QueueDescriptorWithParameters< QLstmDescriptor >
virtual ~QueueDescriptorWithParameters ()=default
 
- Public Member Functions inherited from QueueDescriptor
virtual ~QueueDescriptor ()=default
 
void ValidateTensorNumDimensions (const TensorInfo &tensor, std::string const &descName, unsigned int numDimensions, std::string const &tensorName) const
 
void ValidateTensorNumDimNumElem (const TensorInfo &tensorInfo, unsigned int numDimension, unsigned int numElements, std::string const &tensorName) const
 
void ValidateInputsOutputs (const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
 
template<typename T >
const T * GetAdditionalInformation () const
 

Public Attributes

const ConstTensorHandlem_InputToInputWeights
 
const ConstTensorHandlem_InputToForgetWeights
 
const ConstTensorHandlem_InputToCellWeights
 
const ConstTensorHandlem_InputToOutputWeights
 
const ConstTensorHandlem_RecurrentToInputWeights
 
const ConstTensorHandlem_RecurrentToForgetWeights
 
const ConstTensorHandlem_RecurrentToCellWeights
 
const ConstTensorHandlem_RecurrentToOutputWeights
 
const ConstTensorHandlem_CellToInputWeights
 
const ConstTensorHandlem_CellToForgetWeights
 
const ConstTensorHandlem_CellToOutputWeights
 
const ConstTensorHandlem_InputGateBias
 
const ConstTensorHandlem_ForgetGateBias
 
const ConstTensorHandlem_CellBias
 
const ConstTensorHandlem_OutputGateBias
 
const ConstTensorHandlem_ProjectionWeights
 
const ConstTensorHandlem_ProjectionBias
 
const ConstTensorHandlem_InputLayerNormWeights
 
const ConstTensorHandlem_ForgetLayerNormWeights
 
const ConstTensorHandlem_CellLayerNormWeights
 
const ConstTensorHandlem_OutputLayerNormWeights
 
- Public Attributes inherited from QueueDescriptorWithParameters< QLstmDescriptor >
QLstmDescriptor m_Parameters
 
- Public Attributes inherited from QueueDescriptor
std::vector< ITensorHandle * > m_Inputs
 
std::vector< ITensorHandle * > m_Outputs
 
void * m_AdditionalInfoObject
 
bool m_AllowExpandedDims = false
 

Additional Inherited Members

- Protected Member Functions inherited from QueueDescriptorWithParameters< QLstmDescriptor >
 QueueDescriptorWithParameters ()=default
 
 QueueDescriptorWithParameters (QueueDescriptorWithParameters const &)=default
 
QueueDescriptorWithParametersoperator= (QueueDescriptorWithParameters const &)=default
 
- Protected Member Functions inherited from QueueDescriptor
 QueueDescriptor ()
 
 QueueDescriptor (QueueDescriptor const &)=default
 
QueueDescriptoroperator= (QueueDescriptor const &)=default
 

Detailed Description

Definition at line 594 of file WorkloadData.hpp.

Constructor & Destructor Documentation

◆ QLstmQueueDescriptor()

Definition at line 596 of file WorkloadData.hpp.

597  : m_InputToInputWeights(nullptr)
598  , m_InputToForgetWeights(nullptr)
599  , m_InputToCellWeights(nullptr)
600  , m_InputToOutputWeights(nullptr)
601  , m_RecurrentToInputWeights(nullptr)
602  , m_RecurrentToForgetWeights(nullptr)
603  , m_RecurrentToCellWeights(nullptr)
604  , m_RecurrentToOutputWeights(nullptr)
605  , m_CellToInputWeights(nullptr)
606  , m_CellToForgetWeights(nullptr)
607  , m_CellToOutputWeights(nullptr)
608  , m_InputGateBias(nullptr)
609  , m_ForgetGateBias(nullptr)
610  , m_CellBias(nullptr)
611  , m_OutputGateBias(nullptr)
612  , m_ProjectionWeights(nullptr)
613  , m_ProjectionBias(nullptr)
614  , m_InputLayerNormWeights(nullptr)
615  , m_ForgetLayerNormWeights(nullptr)
616  , m_CellLayerNormWeights(nullptr)
617  , m_OutputLayerNormWeights(nullptr)
618  {
619  }
const ConstTensorHandle * m_CellLayerNormWeights
const ConstTensorHandle * m_ProjectionWeights
const ConstTensorHandle * m_ForgetGateBias
const ConstTensorHandle * m_InputToOutputWeights
const ConstTensorHandle * m_InputToInputWeights
const ConstTensorHandle * m_CellToOutputWeights
const ConstTensorHandle * m_CellToInputWeights
const ConstTensorHandle * m_ForgetLayerNormWeights
const ConstTensorHandle * m_InputToForgetWeights
const ConstTensorHandle * m_CellBias
const ConstTensorHandle * m_InputLayerNormWeights
const ConstTensorHandle * m_InputToCellWeights
const ConstTensorHandle * m_CellToForgetWeights
const ConstTensorHandle * m_ProjectionBias
const ConstTensorHandle * m_RecurrentToCellWeights
const ConstTensorHandle * m_InputGateBias
const ConstTensorHandle * m_OutputGateBias
const ConstTensorHandle * m_OutputLayerNormWeights
const ConstTensorHandle * m_RecurrentToOutputWeights
const ConstTensorHandle * m_RecurrentToInputWeights
const ConstTensorHandle * m_RecurrentToForgetWeights

Member Function Documentation

◆ Validate()

void Validate ( const WorkloadInfo workloadInfo) const

Definition at line 3101 of file WorkloadData.cpp.

References WorkloadInfo::m_InputTensorInfos, WorkloadInfo::m_OutputTensorInfos, armnn::QAsymmS8, armnn::QSymmS16, armnn::QSymmS8, armnn::Signed32, and QueueDescriptor::ValidateTensorNumDimNumElem().

3102 {
3103  const std::string descriptorName{"QLstmQueueDescriptor"};
3104 
3105  // Validate number of inputs/outputs
3106  ValidateNumInputs(workloadInfo, descriptorName, 3);
3107  ValidateNumOutputs(workloadInfo, descriptorName, 3);
3108 
3109  // Input/output tensor info
3110  auto inputInfo = workloadInfo.m_InputTensorInfos[0];
3111  auto outputStateInInfo = workloadInfo.m_InputTensorInfos[1];
3112  auto cellStateInInfo = workloadInfo.m_InputTensorInfos[2];
3113 
3114  auto outputStateOutInfo = workloadInfo.m_OutputTensorInfos[0];
3115  auto cellStateOutInfo = workloadInfo.m_OutputTensorInfos[1];
3116  auto outputInfo = workloadInfo.m_OutputTensorInfos[2];
3117 
3118  // Supported types for various tensors in QLSTM
3119  std::vector<DataType> inputOutputSupportedTypes =
3120  {
3122  };
3123 
3124  std::vector<DataType> cellStateSupportedTypes =
3125  {
3127  };
3128 
3129  std::vector<DataType> weightsSupportedTypes =
3130  {
3132  };
3133 
3134  std::vector<DataType> layerNormPeepholeWeightsSupportedTypes =
3135  {
3137  };
3138 
3139  std::vector<DataType> biasSupportedTypes =
3140  {
3142  };
3143 
3144  // Validate types of input/output tensors
3145  ValidateDataTypes(inputInfo, inputOutputSupportedTypes, descriptorName);
3146  ValidateDataTypes(outputStateInInfo, inputOutputSupportedTypes, descriptorName);
3147  ValidateDataTypes(cellStateInInfo, cellStateSupportedTypes, descriptorName);
3148 
3149  ValidateDataTypes(outputStateOutInfo, inputOutputSupportedTypes, descriptorName);
3150  ValidateDataTypes(cellStateOutInfo, cellStateSupportedTypes, descriptorName);
3151  ValidateDataTypes(outputInfo, inputOutputSupportedTypes, descriptorName);
3152 
3153  // Validate matching types of input/output tensors
3154  ValidateTensorDataTypesMatch(inputInfo, outputStateInInfo, descriptorName, "input", "outputStateIn");
3155  ValidateTensorDataTypesMatch(outputStateInInfo, outputStateOutInfo, descriptorName,
3156  "outputStateIn", "outputStateOut");
3157  ValidateTensorDataTypesMatch(cellStateInInfo, cellStateOutInfo, descriptorName, "cellStateIn", "cellStateOut");
3158 
3159  // Infer number of batches, number of units, input size and output size from tensor dimensions
3160  const uint32_t numBatches = inputInfo.GetShape()[0];
3161  const uint32_t inputSize = inputInfo.GetShape()[1];
3162  const uint32_t outputSize = outputStateInInfo.GetShape()[1];
3163  const uint32_t numUnits = cellStateInInfo.GetShape()[1];
3164 
3165  // Validate number of dimensions and number of elements for input/output tensors
3166  ValidateTensorNumDimNumElem(inputInfo, 2, (numBatches * inputSize), descriptorName + " input");
3167  ValidateTensorNumDimNumElem(outputStateInInfo, 2, (numBatches * outputSize), descriptorName + " outputStateIn");
3168  ValidateTensorNumDimNumElem(cellStateInInfo, 2, (numBatches * numUnits), descriptorName + " cellStateIn");
3169 
3170  ValidateTensorNumDimNumElem(outputStateOutInfo, 2, (numBatches * outputSize), descriptorName + " outputStateOut");
3171  ValidateTensorNumDimNumElem(cellStateOutInfo, 2, (numBatches * numUnits), descriptorName + " cellStateOut");
3172  ValidateTensorNumDimNumElem(outputInfo, 2, (numBatches * outputSize), descriptorName + " output");
3173 
3174  // Validate number of dimensions and number of elements for MANDATORY weight tensors
3175  ValidatePointer(m_InputToForgetWeights, descriptorName, "InputToForgetWeights");
3176  auto inputToForgetWeightsInfo = m_InputToForgetWeights->GetTensorInfo();
3177  ValidateTensorNumDimNumElem(inputToForgetWeightsInfo, 2, (numUnits * inputSize), " InputToForgetWeights");
3178 
3179  ValidatePointer(m_InputToCellWeights, descriptorName, "InputToCellWeights");
3180  auto inputToCellWeightsInfo = m_InputToCellWeights->GetTensorInfo();
3181  ValidateTensorNumDimNumElem(inputToCellWeightsInfo, 2, (numUnits * inputSize), " InputToCellWeights");
3182 
3183  ValidatePointer(m_InputToOutputWeights, descriptorName, "InputToOutputWeights");
3184  auto inputToOutputWeightsInfo = m_InputToOutputWeights->GetTensorInfo();
3185  ValidateTensorNumDimNumElem(inputToOutputWeightsInfo, 2, (numUnits * inputSize), " InputToOutputWeights");
3186 
3187  ValidatePointer(m_RecurrentToForgetWeights, descriptorName, "RecurrentToForgetWeights");
3188  auto recurrentToForgetWeightsInfo = m_RecurrentToForgetWeights->GetTensorInfo();
3189  ValidateTensorNumDimNumElem(recurrentToForgetWeightsInfo, 2, (numUnits * outputSize),
3190  " RecurrentToForgetWeights");
3191 
3192  ValidatePointer(m_RecurrentToCellWeights, descriptorName, "RecurrentToCellWeights");
3193  auto recurrentToCellWeightsInfo = m_RecurrentToCellWeights->GetTensorInfo();
3194  ValidateTensorNumDimNumElem(recurrentToCellWeightsInfo, 2, (numUnits * outputSize), " RecurrentToCellWeights");
3195 
3196  ValidatePointer(m_RecurrentToOutputWeights, descriptorName, "RecurrentToOutputWeights");
3197  auto recurrentToOutputWeightsInfo = m_RecurrentToOutputWeights->GetTensorInfo();
3198  ValidateTensorNumDimNumElem(recurrentToOutputWeightsInfo, 2, (numUnits * outputSize), " RecurrentToCellWeights");
3199 
3200  // Validate data types for MANDATORY weights tensors (all should match each other)
3201  ValidateDataTypes(inputToForgetWeightsInfo, weightsSupportedTypes, descriptorName);
3202 
3203  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, inputToCellWeightsInfo, descriptorName,
3204  "inputToForgetWeights", "inputToCellWeights");
3205  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, inputToOutputWeightsInfo, descriptorName,
3206  "inputToForgetWeights", "inputToOutputWeights");
3207 
3208  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, recurrentToForgetWeightsInfo, descriptorName,
3209  "inputToForgetWeights", "recurrentToForgeteights");
3210  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, recurrentToCellWeightsInfo, descriptorName,
3211  "inputToForgetWeights", "recurrentToCellWeights");
3212  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, recurrentToOutputWeightsInfo, descriptorName,
3213  "inputToForgetWeights", "recurrentToOutputWeights");
3214 
3215  // Validate number of dimensions and number of elements for MANDATORY bias tensors
3216  ValidatePointer(m_ForgetGateBias, descriptorName, "ForgetGateBias");
3217  auto forgetGateBiasInfo = m_ForgetGateBias->GetTensorInfo();
3218  ValidateTensorNumDimNumElem(forgetGateBiasInfo, 1, numUnits, " ForgetGateBias");
3219 
3220  ValidatePointer(m_CellBias, descriptorName, "CellBias");
3221  auto cellBiasInfo = m_CellBias->GetTensorInfo();
3222  ValidateTensorNumDimNumElem(cellBiasInfo, 1, numUnits, " CellBias");
3223 
3224  ValidatePointer(m_OutputGateBias, descriptorName, "OutputGateBias");
3225  auto outputGateBiasInfo = m_OutputGateBias->GetTensorInfo();
3226  ValidateTensorNumDimNumElem(outputGateBiasInfo, 1, numUnits, " OutputGateBias");
3227 
3228  // Validate data types for MANDATORY bias tensors
3229  ValidateDataTypes(forgetGateBiasInfo, biasSupportedTypes, descriptorName);
3230 
3231  ValidateTensorDataTypesMatch(forgetGateBiasInfo, cellBiasInfo, descriptorName,
3232  "forgetGateBias", "cellBias");
3233  ValidateTensorDataTypesMatch(forgetGateBiasInfo, outputGateBiasInfo, descriptorName,
3234  "forgetGateBias", "outputGateBias");
3235 
3236  // Validate OPTIONAL params: CIFG (inputToInputWeights, recurrentToInputWeights, inputGateBias)
3237  const bool allCifgParamsPresentOrNot = ((m_InputToInputWeights && m_RecurrentToInputWeights && m_InputGateBias &&
3241 
3242  if (!allCifgParamsPresentOrNot)
3243  {
3244  throw InvalidArgumentException(descriptorName +
3245  ": InputToInputWeights, RecurrentToInputWeights and InputGateBias must either all be present "
3246  "(CIFG disabled) or not be present at all (CIFG enabled). m_Parameters.m_CifgEnabled should be "
3247  "set appropriately.");
3248  }
3249 
3251  {
3252  // Validate number of dimensions and number of elements
3253  auto inputToInputWeightsInfo = m_InputToInputWeights->GetTensorInfo();
3254  ValidateTensorNumDimNumElem(inputToInputWeightsInfo, 2, (numUnits * inputSize), " InputToInputWeights");
3255 
3256  auto recurrentToInputWeightsInfo = m_RecurrentToInputWeights->GetTensorInfo();
3257  ValidateTensorNumDimNumElem(recurrentToInputWeightsInfo, 2, (numUnits * outputSize),
3258  " RecurrentToInputWeights");
3259 
3260  auto inputGateBiasInfo = m_InputGateBias->GetTensorInfo();
3261  ValidateTensorNumDimNumElem(inputGateBiasInfo, 1, numUnits, " InputGateBias");
3262 
3263  // Validate data types
3264  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, inputToInputWeightsInfo, descriptorName,
3265  "inputToForgetWeights", "inputToInputWeights");
3266  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, recurrentToInputWeightsInfo, descriptorName,
3267  "inputToForgetWeights", "recurrentToInputWeights");
3268  ValidateTensorDataTypesMatch(forgetGateBiasInfo, inputGateBiasInfo, descriptorName,
3269  "forgetGateBias", "inputGateBias");
3270  }
3271 
3272  // Validate OPTIONAL params: Peephole (cellToInputWeights, cellToForgetWeights, cellToOutputWeights)
3273  bool allPeepholeWeightsPresentOrNot =
3278 
3279  if (!allPeepholeWeightsPresentOrNot)
3280  {
3281  throw InvalidArgumentException(descriptorName +
3282  ": CellToInputWeights, CellToForgetWeights and CellToOutputWeights should all be present (Peephole "
3283  "enabled) or not be present at all (Peephole disabled). CellToInputWeights should only be present "
3284  "when Peephole is enabled and CIFG is disabled. m_Parameters.m_PeepholeEnabled should be set "
3285  "appropriately.");
3286  }
3287 
3289  {
3290  auto cellToForgetWeightsInfo = m_CellToForgetWeights->GetTensorInfo();
3291  ValidateTensorNumDimNumElem(cellToForgetWeightsInfo, 1, numUnits, " cellToForgetWeights");
3292  ValidateDataTypes(cellToForgetWeightsInfo, layerNormPeepholeWeightsSupportedTypes, descriptorName);
3293 
3294  auto cellToOutputWeightsInfo = m_CellToOutputWeights->GetTensorInfo();
3295  ValidateTensorNumDimNumElem(cellToOutputWeightsInfo, 1, numUnits, " cellToOutputWeights");
3296  ValidateTensorDataTypesMatch(cellToForgetWeightsInfo, cellToOutputWeightsInfo, descriptorName,
3297  "cellToForgetWeight", "cellToOutputWeights");
3298 
3300  {
3301  auto cellToInputWeightsInfo = m_CellToInputWeights->GetTensorInfo();
3302  ValidateTensorNumDimNumElem(cellToInputWeightsInfo, 1, numUnits, " cellToInputWeights");
3303  ValidateTensorDataTypesMatch(cellToForgetWeightsInfo, cellToInputWeightsInfo, descriptorName,
3304  "cellToForgetWeights", "cellToInputWeights");
3305  }
3306  }
3307 
3308  // Validate OPTIONAL params: Layer Norm Weights
3309  bool allLayerNormWeightsPresentOrNot =
3314 
3315  if (!allLayerNormWeightsPresentOrNot)
3316  {
3317  throw InvalidArgumentException(descriptorName +
3318  ": InputLayerNormWeights, ForgetLayerNormWeights, m_OutputLayerNormWeights "
3319  "and CellLayerNormWeights should all be present (Layer Norm enabled) or not "
3320  "be present at all (Layer Norm disabled). InputLayerNormWeights should "
3321  "only be present when Layer Norm is enabled and CIFG is disabled. "
3322  "m_Parameters.m_LayerNormEnabled should be set appropriately.");
3323  }
3324 
3326  {
3327  auto forgetLayerNormWeightsInfo = m_ForgetLayerNormWeights->GetTensorInfo();
3328  ValidateTensorNumDimNumElem(forgetLayerNormWeightsInfo, 1, numUnits, " forgetLayerNormWeights");
3329  ValidateDataTypes(forgetLayerNormWeightsInfo, layerNormPeepholeWeightsSupportedTypes, descriptorName);
3330 
3331  auto cellLayerNormWeightsInfo = m_CellLayerNormWeights->GetTensorInfo();
3332  ValidateTensorNumDimNumElem(cellLayerNormWeightsInfo, 1, numUnits, " cellLayerNormWeights");
3333  ValidateTensorDataTypesMatch(forgetLayerNormWeightsInfo, cellLayerNormWeightsInfo, descriptorName,
3334  "forgetLayerNormWeights", "cellLayerNormWeights");
3335 
3336  auto outputLayerNormWeightsInfo = m_OutputLayerNormWeights->GetTensorInfo();
3337  ValidateTensorNumDimNumElem(outputLayerNormWeightsInfo, 1, numUnits, " outputLayerNormWeights");
3338  ValidateTensorDataTypesMatch(forgetLayerNormWeightsInfo, outputLayerNormWeightsInfo, descriptorName,
3339  "forgetLayerNormWeights", "outputLayerNormWeights");
3340 
3342  {
3343  auto inputLayerNormWeightsInfo = m_InputLayerNormWeights->GetTensorInfo();
3344  ValidateTensorNumDimNumElem(inputLayerNormWeightsInfo, 1, numUnits, " inputLayerNormWeights");
3345  ValidateTensorDataTypesMatch(forgetLayerNormWeightsInfo, inputLayerNormWeightsInfo, descriptorName,
3346  "forgetLayerNormWeights", "inputLayerNormWeights");
3347  }
3348  }
3349 
3350  // Validate OPTIONAL params: Projection (projectionWeights, projectionBias)
3351  bool correctProjectionTensorsPresent =
3355 
3356  if (!correctProjectionTensorsPresent)
3357  {
3358  throw InvalidArgumentException(descriptorName +
3359  ": If projection is enabled, ProjectionWeights should be present and "
3360  "ProjectionBias is optional. If projection is disabled, neither "
3361  "ProjectionWeights nor ProjectionBias should be present.");
3362  }
3363 
3365  {
3366  auto projectionWeightsInfo = m_ProjectionWeights->GetTensorInfo();
3367  ValidateTensorNumDimNumElem(projectionWeightsInfo, 2, (numUnits * outputSize), "ProjectionWeights");
3368  ValidateDataTypes(projectionWeightsInfo, weightsSupportedTypes, descriptorName);
3369 
3370  if (m_ProjectionBias)
3371  {
3372  auto projectionBiasInfo = m_ProjectionBias->GetTensorInfo();
3373  ValidateTensorNumDimNumElem(projectionBiasInfo, 1, outputSize, "ProjectionBias");
3374  ValidateDataTypes(projectionBiasInfo, biasSupportedTypes, descriptorName);
3375  }
3376 
3377  }
3378  else if ((outputInfo.GetQuantizationScale() != m_Parameters.m_HiddenStateScale) &&
3379  outputInfo.GetQuantizationOffset() != m_Parameters.m_HiddenStateZeroPoint) {
3380  throw InvalidArgumentException(descriptorName +
3381  ": If projection is disabled, output quantization info (scale, offset) "
3382  "should match HiddenStateScale and HiddenStateZeroPoint.");
3383  }
3384 
3385 }
const ConstTensorHandle * m_CellLayerNormWeights
const ConstTensorHandle * m_ProjectionWeights
const ConstTensorHandle * m_ForgetGateBias
const ConstTensorHandle * m_InputToOutputWeights
bool m_PeepholeEnabled
Enable/disable peephole.
float m_HiddenStateScale
Hidden State quantization scale.
const ConstTensorHandle * m_InputToInputWeights
void ValidateTensorNumDimNumElem(const TensorInfo &tensorInfo, unsigned int numDimension, unsigned int numElements, std::string const &tensorName) const
const ConstTensorHandle * m_CellToOutputWeights
const ConstTensorHandle * m_CellToInputWeights
const ConstTensorHandle * m_ForgetLayerNormWeights
const TensorInfo & GetTensorInfo() const
std::vector< TensorInfo > m_InputTensorInfos
bool m_LayerNormEnabled
Enable/disable layer normalization.
const ConstTensorHandle * m_InputToForgetWeights
const ConstTensorHandle * m_CellBias
std::vector< TensorInfo > m_OutputTensorInfos
const ConstTensorHandle * m_InputLayerNormWeights
const ConstTensorHandle * m_InputToCellWeights
const ConstTensorHandle * m_CellToForgetWeights
const ConstTensorHandle * m_ProjectionBias
const ConstTensorHandle * m_RecurrentToCellWeights
bool m_ProjectionEnabled
Enable/disable the projection layer.
const ConstTensorHandle * m_InputGateBias
const ConstTensorHandle * m_OutputGateBias
const ConstTensorHandle * m_OutputLayerNormWeights
const ConstTensorHandle * m_RecurrentToOutputWeights
const ConstTensorHandle * m_RecurrentToInputWeights
bool m_CifgEnabled
Enable/disable CIFG (coupled input & forget gate).
const ConstTensorHandle * m_RecurrentToForgetWeights
int32_t m_HiddenStateZeroPoint
Hidden State zero point.

Member Data Documentation

◆ m_CellBias

const ConstTensorHandle* m_CellBias

Definition at line 634 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_CellLayerNormWeights

const ConstTensorHandle* m_CellLayerNormWeights

Definition at line 640 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_CellToForgetWeights

const ConstTensorHandle* m_CellToForgetWeights

Definition at line 630 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_CellToInputWeights

const ConstTensorHandle* m_CellToInputWeights

Definition at line 629 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_CellToOutputWeights

const ConstTensorHandle* m_CellToOutputWeights

Definition at line 631 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_ForgetGateBias

const ConstTensorHandle* m_ForgetGateBias

Definition at line 633 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_ForgetLayerNormWeights

const ConstTensorHandle* m_ForgetLayerNormWeights

Definition at line 639 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputGateBias

const ConstTensorHandle* m_InputGateBias

Definition at line 632 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputLayerNormWeights

const ConstTensorHandle* m_InputLayerNormWeights

Definition at line 638 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputToCellWeights

const ConstTensorHandle* m_InputToCellWeights

Definition at line 623 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputToForgetWeights

const ConstTensorHandle* m_InputToForgetWeights

Definition at line 622 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputToInputWeights

const ConstTensorHandle* m_InputToInputWeights

Definition at line 621 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputToOutputWeights

const ConstTensorHandle* m_InputToOutputWeights

Definition at line 624 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_OutputGateBias

const ConstTensorHandle* m_OutputGateBias

Definition at line 635 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_OutputLayerNormWeights

const ConstTensorHandle* m_OutputLayerNormWeights

Definition at line 641 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_ProjectionBias

const ConstTensorHandle* m_ProjectionBias

Definition at line 637 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_ProjectionWeights

const ConstTensorHandle* m_ProjectionWeights

Definition at line 636 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_RecurrentToCellWeights

const ConstTensorHandle* m_RecurrentToCellWeights

Definition at line 627 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_RecurrentToForgetWeights

const ConstTensorHandle* m_RecurrentToForgetWeights

Definition at line 626 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_RecurrentToInputWeights

const ConstTensorHandle* m_RecurrentToInputWeights

Definition at line 625 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_RecurrentToOutputWeights

const ConstTensorHandle* m_RecurrentToOutputWeights

Definition at line 628 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().


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