ArmNN
 25.02
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
QLstmQueueDescriptor Struct Reference

#include <WorkloadData.hpp>

Inheritance diagram for QLstmQueueDescriptor:
[legend]
Collaboration diagram for QLstmQueueDescriptor:
[legend]

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 562 of file WorkloadData.hpp.

Constructor & Destructor Documentation

◆ QLstmQueueDescriptor()

Definition at line 564 of file WorkloadData.hpp.

565  : m_InputToInputWeights(nullptr)
566  , m_InputToForgetWeights(nullptr)
567  , m_InputToCellWeights(nullptr)
568  , m_InputToOutputWeights(nullptr)
569  , m_RecurrentToInputWeights(nullptr)
570  , m_RecurrentToForgetWeights(nullptr)
571  , m_RecurrentToCellWeights(nullptr)
572  , m_RecurrentToOutputWeights(nullptr)
573  , m_CellToInputWeights(nullptr)
574  , m_CellToForgetWeights(nullptr)
575  , m_CellToOutputWeights(nullptr)
576  , m_InputGateBias(nullptr)
577  , m_ForgetGateBias(nullptr)
578  , m_CellBias(nullptr)
579  , m_OutputGateBias(nullptr)
580  , m_ProjectionWeights(nullptr)
581  , m_ProjectionBias(nullptr)
582  , m_InputLayerNormWeights(nullptr)
583  , m_ForgetLayerNormWeights(nullptr)
584  , m_CellLayerNormWeights(nullptr)
585  , m_OutputLayerNormWeights(nullptr)
586  {
587  }
const ConstTensorHandle * m_OutputLayerNormWeights
const ConstTensorHandle * m_InputToOutputWeights
const ConstTensorHandle * m_InputLayerNormWeights
const ConstTensorHandle * m_CellToForgetWeights
const ConstTensorHandle * m_RecurrentToInputWeights
const ConstTensorHandle * m_ForgetGateBias
const ConstTensorHandle * m_ProjectionWeights
const ConstTensorHandle * m_InputGateBias
const ConstTensorHandle * m_RecurrentToOutputWeights
const ConstTensorHandle * m_OutputGateBias
const ConstTensorHandle * m_CellBias
const ConstTensorHandle * m_InputToCellWeights
const ConstTensorHandle * m_CellToInputWeights
const ConstTensorHandle * m_CellToOutputWeights
const ConstTensorHandle * m_InputToForgetWeights
const ConstTensorHandle * m_InputToInputWeights
const ConstTensorHandle * m_RecurrentToCellWeights
const ConstTensorHandle * m_ProjectionBias
const ConstTensorHandle * m_ForgetLayerNormWeights
const ConstTensorHandle * m_RecurrentToForgetWeights
const ConstTensorHandle * m_CellLayerNormWeights

Member Function Documentation

◆ Validate()

void Validate ( const WorkloadInfo workloadInfo) const

Definition at line 3160 of file WorkloadData.cpp.

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

References TensorInfo::GetQuantizationOffset(), TensorInfo::GetQuantizationScale(), TensorInfo::GetShape(), ConstTensorHandle::GetTensorInfo(), QLstmQueueDescriptor::m_CellBias, QLstmQueueDescriptor::m_CellLayerNormWeights, QLstmQueueDescriptor::m_CellToForgetWeights, QLstmQueueDescriptor::m_CellToInputWeights, QLstmQueueDescriptor::m_CellToOutputWeights, QLstmDescriptor::m_CifgEnabled, QLstmQueueDescriptor::m_ForgetGateBias, QLstmQueueDescriptor::m_ForgetLayerNormWeights, QLstmDescriptor::m_HiddenStateScale, QLstmDescriptor::m_HiddenStateZeroPoint, QLstmQueueDescriptor::m_InputGateBias, QLstmQueueDescriptor::m_InputLayerNormWeights, WorkloadInfo::m_InputTensorInfos, QLstmQueueDescriptor::m_InputToCellWeights, QLstmQueueDescriptor::m_InputToForgetWeights, QLstmQueueDescriptor::m_InputToInputWeights, QLstmQueueDescriptor::m_InputToOutputWeights, QLstmDescriptor::m_LayerNormEnabled, QLstmQueueDescriptor::m_OutputGateBias, QLstmQueueDescriptor::m_OutputLayerNormWeights, WorkloadInfo::m_OutputTensorInfos, QueueDescriptorWithParameters< QLstmDescriptor >::m_Parameters, QLstmDescriptor::m_PeepholeEnabled, QLstmQueueDescriptor::m_ProjectionBias, QLstmDescriptor::m_ProjectionEnabled, QLstmQueueDescriptor::m_ProjectionWeights, QLstmQueueDescriptor::m_RecurrentToCellWeights, QLstmQueueDescriptor::m_RecurrentToForgetWeights, QLstmQueueDescriptor::m_RecurrentToInputWeights, QLstmQueueDescriptor::m_RecurrentToOutputWeights, armnn::QAsymmS8, armnn::QSymmS16, armnn::QSymmS8, armnn::Signed32, and QueueDescriptor::ValidateTensorNumDimNumElem().

Member Data Documentation

◆ m_CellBias

const ConstTensorHandle* m_CellBias

Definition at line 602 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().

◆ m_CellLayerNormWeights

const ConstTensorHandle* m_CellLayerNormWeights

Definition at line 608 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().

◆ m_CellToForgetWeights

const ConstTensorHandle* m_CellToForgetWeights

Definition at line 598 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().

◆ m_CellToInputWeights

const ConstTensorHandle* m_CellToInputWeights

Definition at line 597 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().

◆ m_CellToOutputWeights

const ConstTensorHandle* m_CellToOutputWeights

Definition at line 599 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().

◆ m_ForgetGateBias

const ConstTensorHandle* m_ForgetGateBias

Definition at line 601 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().

◆ m_ForgetLayerNormWeights

const ConstTensorHandle* m_ForgetLayerNormWeights

Definition at line 607 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().

◆ m_InputGateBias

const ConstTensorHandle* m_InputGateBias

Definition at line 600 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().

◆ m_InputLayerNormWeights

const ConstTensorHandle* m_InputLayerNormWeights

Definition at line 606 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().

◆ m_InputToCellWeights

const ConstTensorHandle* m_InputToCellWeights

Definition at line 591 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().

◆ m_InputToForgetWeights

const ConstTensorHandle* m_InputToForgetWeights

Definition at line 590 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().

◆ m_InputToInputWeights

const ConstTensorHandle* m_InputToInputWeights

Definition at line 589 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().

◆ m_InputToOutputWeights

const ConstTensorHandle* m_InputToOutputWeights

Definition at line 592 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().

◆ m_OutputGateBias

const ConstTensorHandle* m_OutputGateBias

Definition at line 603 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().

◆ m_OutputLayerNormWeights

const ConstTensorHandle* m_OutputLayerNormWeights

Definition at line 609 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().

◆ m_ProjectionBias

const ConstTensorHandle* m_ProjectionBias

Definition at line 605 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().

◆ m_ProjectionWeights

const ConstTensorHandle* m_ProjectionWeights

Definition at line 604 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().

◆ m_RecurrentToCellWeights

const ConstTensorHandle* m_RecurrentToCellWeights

Definition at line 595 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().

◆ m_RecurrentToForgetWeights

const ConstTensorHandle* m_RecurrentToForgetWeights

Definition at line 594 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().

◆ m_RecurrentToInputWeights

const ConstTensorHandle* m_RecurrentToInputWeights

Definition at line 593 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().

◆ m_RecurrentToOutputWeights

const ConstTensorHandle* m_RecurrentToOutputWeights

Definition at line 596 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().


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