ArmNN
 22.08
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 602 of file WorkloadData.hpp.

Constructor & Destructor Documentation

◆ QLstmQueueDescriptor()

Definition at line 604 of file WorkloadData.hpp.

605  : m_InputToInputWeights(nullptr)
606  , m_InputToForgetWeights(nullptr)
607  , m_InputToCellWeights(nullptr)
608  , m_InputToOutputWeights(nullptr)
609  , m_RecurrentToInputWeights(nullptr)
610  , m_RecurrentToForgetWeights(nullptr)
611  , m_RecurrentToCellWeights(nullptr)
612  , m_RecurrentToOutputWeights(nullptr)
613  , m_CellToInputWeights(nullptr)
614  , m_CellToForgetWeights(nullptr)
615  , m_CellToOutputWeights(nullptr)
616  , m_InputGateBias(nullptr)
617  , m_ForgetGateBias(nullptr)
618  , m_CellBias(nullptr)
619  , m_OutputGateBias(nullptr)
620  , m_ProjectionWeights(nullptr)
621  , m_ProjectionBias(nullptr)
622  , m_InputLayerNormWeights(nullptr)
623  , m_ForgetLayerNormWeights(nullptr)
624  , m_CellLayerNormWeights(nullptr)
625  , m_OutputLayerNormWeights(nullptr)
626  {
627  }
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 3148 of file WorkloadData.cpp.

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

3149 {
3150  const std::string descriptorName{"QLstmQueueDescriptor"};
3151 
3152  // Validate number of inputs/outputs
3153  ValidateNumInputs(workloadInfo, descriptorName, 3);
3154  ValidateNumOutputs(workloadInfo, descriptorName, 3);
3155 
3156  // Input/output tensor info
3157  auto inputInfo = workloadInfo.m_InputTensorInfos[0];
3158  auto outputStateInInfo = workloadInfo.m_InputTensorInfos[1];
3159  auto cellStateInInfo = workloadInfo.m_InputTensorInfos[2];
3160 
3161  auto outputStateOutInfo = workloadInfo.m_OutputTensorInfos[0];
3162  auto cellStateOutInfo = workloadInfo.m_OutputTensorInfos[1];
3163  auto outputInfo = workloadInfo.m_OutputTensorInfos[2];
3164 
3165  // Supported types for various tensors in QLSTM
3166  std::vector<DataType> inputOutputSupportedTypes =
3167  {
3169  };
3170 
3171  std::vector<DataType> cellStateSupportedTypes =
3172  {
3174  };
3175 
3176  std::vector<DataType> weightsSupportedTypes =
3177  {
3179  };
3180 
3181  std::vector<DataType> layerNormPeepholeWeightsSupportedTypes =
3182  {
3184  };
3185 
3186  std::vector<DataType> biasSupportedTypes =
3187  {
3189  };
3190 
3191  // Validate types of input/output tensors
3192  ValidateDataTypes(inputInfo, inputOutputSupportedTypes, descriptorName);
3193  ValidateDataTypes(outputStateInInfo, inputOutputSupportedTypes, descriptorName);
3194  ValidateDataTypes(cellStateInInfo, cellStateSupportedTypes, descriptorName);
3195 
3196  ValidateDataTypes(outputStateOutInfo, inputOutputSupportedTypes, descriptorName);
3197  ValidateDataTypes(cellStateOutInfo, cellStateSupportedTypes, descriptorName);
3198  ValidateDataTypes(outputInfo, inputOutputSupportedTypes, descriptorName);
3199 
3200  // Validate matching types of input/output tensors
3201  ValidateTensorDataTypesMatch(inputInfo, outputStateInInfo, descriptorName, "input", "outputStateIn");
3202  ValidateTensorDataTypesMatch(outputStateInInfo, outputStateOutInfo, descriptorName,
3203  "outputStateIn", "outputStateOut");
3204  ValidateTensorDataTypesMatch(cellStateInInfo, cellStateOutInfo, descriptorName, "cellStateIn", "cellStateOut");
3205 
3206  // Infer number of batches, number of units, input size and output size from tensor dimensions
3207  const uint32_t numBatches = inputInfo.GetShape()[0];
3208  const uint32_t inputSize = inputInfo.GetShape()[1];
3209  const uint32_t outputSize = outputStateInInfo.GetShape()[1];
3210  const uint32_t numUnits = cellStateInInfo.GetShape()[1];
3211 
3212  // Validate number of dimensions and number of elements for input/output tensors
3213  ValidateTensorNumDimNumElem(inputInfo, 2, (numBatches * inputSize), descriptorName + " input");
3214  ValidateTensorNumDimNumElem(outputStateInInfo, 2, (numBatches * outputSize), descriptorName + " outputStateIn");
3215  ValidateTensorNumDimNumElem(cellStateInInfo, 2, (numBatches * numUnits), descriptorName + " cellStateIn");
3216 
3217  ValidateTensorNumDimNumElem(outputStateOutInfo, 2, (numBatches * outputSize), descriptorName + " outputStateOut");
3218  ValidateTensorNumDimNumElem(cellStateOutInfo, 2, (numBatches * numUnits), descriptorName + " cellStateOut");
3219  ValidateTensorNumDimNumElem(outputInfo, 2, (numBatches * outputSize), descriptorName + " output");
3220 
3221  // Validate number of dimensions and number of elements for MANDATORY weight tensors
3222  ValidatePointer(m_InputToForgetWeights, descriptorName, "InputToForgetWeights");
3223  auto inputToForgetWeightsInfo = m_InputToForgetWeights->GetTensorInfo();
3224  ValidateTensorNumDimNumElem(inputToForgetWeightsInfo, 2, (numUnits * inputSize), " InputToForgetWeights");
3225 
3226  ValidatePointer(m_InputToCellWeights, descriptorName, "InputToCellWeights");
3227  auto inputToCellWeightsInfo = m_InputToCellWeights->GetTensorInfo();
3228  ValidateTensorNumDimNumElem(inputToCellWeightsInfo, 2, (numUnits * inputSize), " InputToCellWeights");
3229 
3230  ValidatePointer(m_InputToOutputWeights, descriptorName, "InputToOutputWeights");
3231  auto inputToOutputWeightsInfo = m_InputToOutputWeights->GetTensorInfo();
3232  ValidateTensorNumDimNumElem(inputToOutputWeightsInfo, 2, (numUnits * inputSize), " InputToOutputWeights");
3233 
3234  ValidatePointer(m_RecurrentToForgetWeights, descriptorName, "RecurrentToForgetWeights");
3235  auto recurrentToForgetWeightsInfo = m_RecurrentToForgetWeights->GetTensorInfo();
3236  ValidateTensorNumDimNumElem(recurrentToForgetWeightsInfo, 2, (numUnits * outputSize),
3237  " RecurrentToForgetWeights");
3238 
3239  ValidatePointer(m_RecurrentToCellWeights, descriptorName, "RecurrentToCellWeights");
3240  auto recurrentToCellWeightsInfo = m_RecurrentToCellWeights->GetTensorInfo();
3241  ValidateTensorNumDimNumElem(recurrentToCellWeightsInfo, 2, (numUnits * outputSize), " RecurrentToCellWeights");
3242 
3243  ValidatePointer(m_RecurrentToOutputWeights, descriptorName, "RecurrentToOutputWeights");
3244  auto recurrentToOutputWeightsInfo = m_RecurrentToOutputWeights->GetTensorInfo();
3245  ValidateTensorNumDimNumElem(recurrentToOutputWeightsInfo, 2, (numUnits * outputSize), " RecurrentToCellWeights");
3246 
3247  // Validate data types for MANDATORY weights tensors (all should match each other)
3248  ValidateDataTypes(inputToForgetWeightsInfo, weightsSupportedTypes, descriptorName);
3249 
3250  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, inputToCellWeightsInfo, descriptorName,
3251  "inputToForgetWeights", "inputToCellWeights");
3252  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, inputToOutputWeightsInfo, descriptorName,
3253  "inputToForgetWeights", "inputToOutputWeights");
3254 
3255  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, recurrentToForgetWeightsInfo, descriptorName,
3256  "inputToForgetWeights", "recurrentToForgeteights");
3257  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, recurrentToCellWeightsInfo, descriptorName,
3258  "inputToForgetWeights", "recurrentToCellWeights");
3259  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, recurrentToOutputWeightsInfo, descriptorName,
3260  "inputToForgetWeights", "recurrentToOutputWeights");
3261 
3262  // Validate number of dimensions and number of elements for MANDATORY bias tensors
3263  ValidatePointer(m_ForgetGateBias, descriptorName, "ForgetGateBias");
3264  auto forgetGateBiasInfo = m_ForgetGateBias->GetTensorInfo();
3265  ValidateTensorNumDimNumElem(forgetGateBiasInfo, 1, numUnits, " ForgetGateBias");
3266 
3267  ValidatePointer(m_CellBias, descriptorName, "CellBias");
3268  auto cellBiasInfo = m_CellBias->GetTensorInfo();
3269  ValidateTensorNumDimNumElem(cellBiasInfo, 1, numUnits, " CellBias");
3270 
3271  ValidatePointer(m_OutputGateBias, descriptorName, "OutputGateBias");
3272  auto outputGateBiasInfo = m_OutputGateBias->GetTensorInfo();
3273  ValidateTensorNumDimNumElem(outputGateBiasInfo, 1, numUnits, " OutputGateBias");
3274 
3275  // Validate data types for MANDATORY bias tensors
3276  ValidateDataTypes(forgetGateBiasInfo, biasSupportedTypes, descriptorName);
3277 
3278  ValidateTensorDataTypesMatch(forgetGateBiasInfo, cellBiasInfo, descriptorName,
3279  "forgetGateBias", "cellBias");
3280  ValidateTensorDataTypesMatch(forgetGateBiasInfo, outputGateBiasInfo, descriptorName,
3281  "forgetGateBias", "outputGateBias");
3282 
3283  // Validate OPTIONAL params: CIFG (inputToInputWeights, recurrentToInputWeights, inputGateBias)
3284  const bool allCifgParamsPresentOrNot = ((m_InputToInputWeights && m_RecurrentToInputWeights && m_InputGateBias &&
3288 
3289  if (!allCifgParamsPresentOrNot)
3290  {
3291  throw InvalidArgumentException(descriptorName +
3292  ": InputToInputWeights, RecurrentToInputWeights and InputGateBias must either all be present "
3293  "(CIFG disabled) or not be present at all (CIFG enabled). m_Parameters.m_CifgEnabled should be "
3294  "set appropriately.");
3295  }
3296 
3298  {
3299  // Validate number of dimensions and number of elements
3300  auto inputToInputWeightsInfo = m_InputToInputWeights->GetTensorInfo();
3301  ValidateTensorNumDimNumElem(inputToInputWeightsInfo, 2, (numUnits * inputSize), " InputToInputWeights");
3302 
3303  auto recurrentToInputWeightsInfo = m_RecurrentToInputWeights->GetTensorInfo();
3304  ValidateTensorNumDimNumElem(recurrentToInputWeightsInfo, 2, (numUnits * outputSize),
3305  " RecurrentToInputWeights");
3306 
3307  auto inputGateBiasInfo = m_InputGateBias->GetTensorInfo();
3308  ValidateTensorNumDimNumElem(inputGateBiasInfo, 1, numUnits, " InputGateBias");
3309 
3310  // Validate data types
3311  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, inputToInputWeightsInfo, descriptorName,
3312  "inputToForgetWeights", "inputToInputWeights");
3313  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, recurrentToInputWeightsInfo, descriptorName,
3314  "inputToForgetWeights", "recurrentToInputWeights");
3315  ValidateTensorDataTypesMatch(forgetGateBiasInfo, inputGateBiasInfo, descriptorName,
3316  "forgetGateBias", "inputGateBias");
3317  }
3318 
3319  // Validate OPTIONAL params: Peephole (cellToInputWeights, cellToForgetWeights, cellToOutputWeights)
3320  bool allPeepholeWeightsPresentOrNot =
3325 
3326  if (!allPeepholeWeightsPresentOrNot)
3327  {
3328  throw InvalidArgumentException(descriptorName +
3329  ": CellToInputWeights, CellToForgetWeights and CellToOutputWeights should all be present (Peephole "
3330  "enabled) or not be present at all (Peephole disabled). CellToInputWeights should only be present "
3331  "when Peephole is enabled and CIFG is disabled. m_Parameters.m_PeepholeEnabled should be set "
3332  "appropriately.");
3333  }
3334 
3336  {
3337  auto cellToForgetWeightsInfo = m_CellToForgetWeights->GetTensorInfo();
3338  ValidateTensorNumDimNumElem(cellToForgetWeightsInfo, 1, numUnits, " cellToForgetWeights");
3339  ValidateDataTypes(cellToForgetWeightsInfo, layerNormPeepholeWeightsSupportedTypes, descriptorName);
3340 
3341  auto cellToOutputWeightsInfo = m_CellToOutputWeights->GetTensorInfo();
3342  ValidateTensorNumDimNumElem(cellToOutputWeightsInfo, 1, numUnits, " cellToOutputWeights");
3343  ValidateTensorDataTypesMatch(cellToForgetWeightsInfo, cellToOutputWeightsInfo, descriptorName,
3344  "cellToForgetWeight", "cellToOutputWeights");
3345 
3347  {
3348  auto cellToInputWeightsInfo = m_CellToInputWeights->GetTensorInfo();
3349  ValidateTensorNumDimNumElem(cellToInputWeightsInfo, 1, numUnits, " cellToInputWeights");
3350  ValidateTensorDataTypesMatch(cellToForgetWeightsInfo, cellToInputWeightsInfo, descriptorName,
3351  "cellToForgetWeights", "cellToInputWeights");
3352  }
3353  }
3354 
3355  // Validate OPTIONAL params: Layer Norm Weights
3356  bool allLayerNormWeightsPresentOrNot =
3361 
3362  if (!allLayerNormWeightsPresentOrNot)
3363  {
3364  throw InvalidArgumentException(descriptorName +
3365  ": InputLayerNormWeights, ForgetLayerNormWeights, m_OutputLayerNormWeights "
3366  "and CellLayerNormWeights should all be present (Layer Norm enabled) or not "
3367  "be present at all (Layer Norm disabled). InputLayerNormWeights should "
3368  "only be present when Layer Norm is enabled and CIFG is disabled. "
3369  "m_Parameters.m_LayerNormEnabled should be set appropriately.");
3370  }
3371 
3373  {
3374  auto forgetLayerNormWeightsInfo = m_ForgetLayerNormWeights->GetTensorInfo();
3375  ValidateTensorNumDimNumElem(forgetLayerNormWeightsInfo, 1, numUnits, " forgetLayerNormWeights");
3376  ValidateDataTypes(forgetLayerNormWeightsInfo, layerNormPeepholeWeightsSupportedTypes, descriptorName);
3377 
3378  auto cellLayerNormWeightsInfo = m_CellLayerNormWeights->GetTensorInfo();
3379  ValidateTensorNumDimNumElem(cellLayerNormWeightsInfo, 1, numUnits, " cellLayerNormWeights");
3380  ValidateTensorDataTypesMatch(forgetLayerNormWeightsInfo, cellLayerNormWeightsInfo, descriptorName,
3381  "forgetLayerNormWeights", "cellLayerNormWeights");
3382 
3383  auto outputLayerNormWeightsInfo = m_OutputLayerNormWeights->GetTensorInfo();
3384  ValidateTensorNumDimNumElem(outputLayerNormWeightsInfo, 1, numUnits, " outputLayerNormWeights");
3385  ValidateTensorDataTypesMatch(forgetLayerNormWeightsInfo, outputLayerNormWeightsInfo, descriptorName,
3386  "forgetLayerNormWeights", "outputLayerNormWeights");
3387 
3389  {
3390  auto inputLayerNormWeightsInfo = m_InputLayerNormWeights->GetTensorInfo();
3391  ValidateTensorNumDimNumElem(inputLayerNormWeightsInfo, 1, numUnits, " inputLayerNormWeights");
3392  ValidateTensorDataTypesMatch(forgetLayerNormWeightsInfo, inputLayerNormWeightsInfo, descriptorName,
3393  "forgetLayerNormWeights", "inputLayerNormWeights");
3394  }
3395  }
3396 
3397  // Validate OPTIONAL params: Projection (projectionWeights, projectionBias)
3398  bool correctProjectionTensorsPresent =
3402 
3403  if (!correctProjectionTensorsPresent)
3404  {
3405  throw InvalidArgumentException(descriptorName +
3406  ": If projection is enabled, ProjectionWeights should be present and "
3407  "ProjectionBias is optional. If projection is disabled, neither "
3408  "ProjectionWeights nor ProjectionBias should be present.");
3409  }
3410 
3412  {
3413  auto projectionWeightsInfo = m_ProjectionWeights->GetTensorInfo();
3414  ValidateTensorNumDimNumElem(projectionWeightsInfo, 2, (numUnits * outputSize), "ProjectionWeights");
3415  ValidateDataTypes(projectionWeightsInfo, weightsSupportedTypes, descriptorName);
3416 
3417  if (m_ProjectionBias)
3418  {
3419  auto projectionBiasInfo = m_ProjectionBias->GetTensorInfo();
3420  ValidateTensorNumDimNumElem(projectionBiasInfo, 1, outputSize, "ProjectionBias");
3421  ValidateDataTypes(projectionBiasInfo, biasSupportedTypes, descriptorName);
3422  }
3423 
3424  }
3425  else if ((outputInfo.GetQuantizationScale() != m_Parameters.m_HiddenStateScale) &&
3426  outputInfo.GetQuantizationOffset() != m_Parameters.m_HiddenStateZeroPoint) {
3427  throw InvalidArgumentException(descriptorName +
3428  ": If projection is disabled, output quantization info (scale, offset) "
3429  "should match HiddenStateScale and HiddenStateZeroPoint.");
3430  }
3431 
3432 }
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 642 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_CellLayerNormWeights

const ConstTensorHandle* m_CellLayerNormWeights

Definition at line 648 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_CellToForgetWeights

const ConstTensorHandle* m_CellToForgetWeights

Definition at line 638 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_CellToInputWeights

const ConstTensorHandle* m_CellToInputWeights

Definition at line 637 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_CellToOutputWeights

const ConstTensorHandle* m_CellToOutputWeights

Definition at line 639 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_ForgetGateBias

const ConstTensorHandle* m_ForgetGateBias

Definition at line 641 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_ForgetLayerNormWeights

const ConstTensorHandle* m_ForgetLayerNormWeights

Definition at line 647 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputGateBias

const ConstTensorHandle* m_InputGateBias

Definition at line 640 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputLayerNormWeights

const ConstTensorHandle* m_InputLayerNormWeights

Definition at line 646 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputToCellWeights

const ConstTensorHandle* m_InputToCellWeights

Definition at line 631 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputToForgetWeights

const ConstTensorHandle* m_InputToForgetWeights

Definition at line 630 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputToInputWeights

const ConstTensorHandle* m_InputToInputWeights

Definition at line 629 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputToOutputWeights

const ConstTensorHandle* m_InputToOutputWeights

Definition at line 632 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_OutputGateBias

const ConstTensorHandle* m_OutputGateBias

Definition at line 643 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_OutputLayerNormWeights

const ConstTensorHandle* m_OutputLayerNormWeights

Definition at line 649 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_ProjectionBias

const ConstTensorHandle* m_ProjectionBias

Definition at line 645 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_ProjectionWeights

const ConstTensorHandle* m_ProjectionWeights

Definition at line 644 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_RecurrentToCellWeights

const ConstTensorHandle* m_RecurrentToCellWeights

Definition at line 635 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_RecurrentToForgetWeights

const ConstTensorHandle* m_RecurrentToForgetWeights

Definition at line 634 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_RecurrentToInputWeights

const ConstTensorHandle* m_RecurrentToInputWeights

Definition at line 633 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_RecurrentToOutputWeights

const ConstTensorHandle* m_RecurrentToOutputWeights

Definition at line 636 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().


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