ArmNN
 21.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 QueueDescriptor
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
 

Additional Inherited Members

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

Detailed Description

Definition at line 580 of file WorkloadData.hpp.

Constructor & Destructor Documentation

◆ QLstmQueueDescriptor()

Definition at line 582 of file WorkloadData.hpp.

583  : m_InputToInputWeights(nullptr)
584  , m_InputToForgetWeights(nullptr)
585  , m_InputToCellWeights(nullptr)
586  , m_InputToOutputWeights(nullptr)
587  , m_RecurrentToInputWeights(nullptr)
588  , m_RecurrentToForgetWeights(nullptr)
589  , m_RecurrentToCellWeights(nullptr)
590  , m_RecurrentToOutputWeights(nullptr)
591  , m_CellToInputWeights(nullptr)
592  , m_CellToForgetWeights(nullptr)
593  , m_CellToOutputWeights(nullptr)
594  , m_InputGateBias(nullptr)
595  , m_ForgetGateBias(nullptr)
596  , m_CellBias(nullptr)
597  , m_OutputGateBias(nullptr)
598  , m_ProjectionWeights(nullptr)
599  , m_ProjectionBias(nullptr)
600  , m_InputLayerNormWeights(nullptr)
601  , m_ForgetLayerNormWeights(nullptr)
602  , m_CellLayerNormWeights(nullptr)
603  , m_OutputLayerNormWeights(nullptr)
604  {
605  }
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 3043 of file WorkloadData.cpp.

References WorkloadInfo::m_InputTensorInfos, WorkloadInfo::m_OutputTensorInfos, armnn::QAsymmS8, armnn::QSymmS16, armnn::QSymmS8, and armnn::Signed32.

3044 {
3045  const std::string descriptorName{"QLstmQueueDescriptor"};
3046 
3047  // Validate number of inputs/outputs
3048  ValidateNumInputs(workloadInfo, descriptorName, 3);
3049  ValidateNumOutputs(workloadInfo, descriptorName, 3);
3050 
3051  // Input/output tensor info
3052  auto inputInfo = workloadInfo.m_InputTensorInfos[0];
3053  auto outputStateInInfo = workloadInfo.m_InputTensorInfos[1];
3054  auto cellStateInInfo = workloadInfo.m_InputTensorInfos[2];
3055 
3056  auto outputStateOutInfo = workloadInfo.m_OutputTensorInfos[0];
3057  auto cellStateOutInfo = workloadInfo.m_OutputTensorInfos[1];
3058  auto outputInfo = workloadInfo.m_OutputTensorInfos[2];
3059 
3060  // Supported types for various tensors in QLSTM
3061  std::vector<DataType> inputOutputSupportedTypes =
3062  {
3064  };
3065 
3066  std::vector<DataType> cellStateSupportedTypes =
3067  {
3069  };
3070 
3071  std::vector<DataType> weightsSupportedTypes =
3072  {
3074  };
3075 
3076  std::vector<DataType> layerNormPeepholeWeightsSupportedTypes =
3077  {
3079  };
3080 
3081  std::vector<DataType> biasSupportedTypes =
3082  {
3084  };
3085 
3086  // Validate types of input/output tensors
3087  ValidateDataTypes(inputInfo, inputOutputSupportedTypes, descriptorName);
3088  ValidateDataTypes(outputStateInInfo, inputOutputSupportedTypes, descriptorName);
3089  ValidateDataTypes(cellStateInInfo, cellStateSupportedTypes, descriptorName);
3090 
3091  ValidateDataTypes(outputStateOutInfo, inputOutputSupportedTypes, descriptorName);
3092  ValidateDataTypes(cellStateOutInfo, cellStateSupportedTypes, descriptorName);
3093  ValidateDataTypes(outputInfo, inputOutputSupportedTypes, descriptorName);
3094 
3095  // Validate matching types of input/output tensors
3096  ValidateTensorDataTypesMatch(inputInfo, outputStateInInfo, descriptorName, "input", "outputStateIn");
3097  ValidateTensorDataTypesMatch(outputStateInInfo, outputStateOutInfo, descriptorName,
3098  "outputStateIn", "outputStateOut");
3099  ValidateTensorDataTypesMatch(cellStateInInfo, cellStateOutInfo, descriptorName, "cellStateIn", "cellStateOut");
3100 
3101  // Infer number of batches, number of units, input size and output size from tensor dimensions
3102  const uint32_t numBatches = inputInfo.GetShape()[0];
3103  const uint32_t inputSize = inputInfo.GetShape()[1];
3104  const uint32_t outputSize = outputStateInInfo.GetShape()[1];
3105  const uint32_t numUnits = cellStateInInfo.GetShape()[1];
3106 
3107  // Validate number of dimensions and number of elements for input/output tensors
3108  ValidateTensorNumDimNumElem(inputInfo, 2, (numBatches * inputSize), descriptorName + " input");
3109  ValidateTensorNumDimNumElem(outputStateInInfo, 2, (numBatches * outputSize), descriptorName + " outputStateIn");
3110  ValidateTensorNumDimNumElem(cellStateInInfo, 2, (numBatches * numUnits), descriptorName + " cellStateIn");
3111 
3112  ValidateTensorNumDimNumElem(outputStateOutInfo, 2, (numBatches * outputSize), descriptorName + " outputStateOut");
3113  ValidateTensorNumDimNumElem(cellStateOutInfo, 2, (numBatches * numUnits), descriptorName + " cellStateOut");
3114  ValidateTensorNumDimNumElem(outputInfo, 2, (numBatches * outputSize), descriptorName + " output");
3115 
3116  // Validate number of dimensions and number of elements for MANDATORY weight tensors
3117  ValidatePointer(m_InputToForgetWeights, descriptorName, "InputToForgetWeights");
3118  auto inputToForgetWeightsInfo = m_InputToForgetWeights->GetTensorInfo();
3119  ValidateTensorNumDimNumElem(inputToForgetWeightsInfo, 2, (numUnits * inputSize), " InputToForgetWeights");
3120 
3121  ValidatePointer(m_InputToCellWeights, descriptorName, "InputToCellWeights");
3122  auto inputToCellWeightsInfo = m_InputToCellWeights->GetTensorInfo();
3123  ValidateTensorNumDimNumElem(inputToCellWeightsInfo, 2, (numUnits * inputSize), " InputToCellWeights");
3124 
3125  ValidatePointer(m_InputToOutputWeights, descriptorName, "InputToOutputWeights");
3126  auto inputToOutputWeightsInfo = m_InputToOutputWeights->GetTensorInfo();
3127  ValidateTensorNumDimNumElem(inputToOutputWeightsInfo, 2, (numUnits * inputSize), " InputToOutputWeights");
3128 
3129  ValidatePointer(m_RecurrentToForgetWeights, descriptorName, "RecurrentToForgetWeights");
3130  auto recurrentToForgetWeightsInfo = m_RecurrentToForgetWeights->GetTensorInfo();
3131  ValidateTensorNumDimNumElem(recurrentToForgetWeightsInfo, 2, (numUnits * outputSize),
3132  " RecurrentToForgetWeights");
3133 
3134  ValidatePointer(m_RecurrentToCellWeights, descriptorName, "RecurrentToCellWeights");
3135  auto recurrentToCellWeightsInfo = m_RecurrentToCellWeights->GetTensorInfo();
3136  ValidateTensorNumDimNumElem(recurrentToCellWeightsInfo, 2, (numUnits * outputSize), " RecurrentToCellWeights");
3137 
3138  ValidatePointer(m_RecurrentToOutputWeights, descriptorName, "RecurrentToOutputWeights");
3139  auto recurrentToOutputWeightsInfo = m_RecurrentToOutputWeights->GetTensorInfo();
3140  ValidateTensorNumDimNumElem(recurrentToOutputWeightsInfo, 2, (numUnits * outputSize), " RecurrentToCellWeights");
3141 
3142  // Validate data types for MANDATORY weights tensors (all should match each other)
3143  ValidateDataTypes(inputToForgetWeightsInfo, weightsSupportedTypes, descriptorName);
3144 
3145  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, inputToCellWeightsInfo, descriptorName,
3146  "inputToForgetWeights", "inputToCellWeights");
3147  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, inputToOutputWeightsInfo, descriptorName,
3148  "inputToForgetWeights", "inputToOutputWeights");
3149 
3150  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, recurrentToForgetWeightsInfo, descriptorName,
3151  "inputToForgetWeights", "recurrentToForgeteights");
3152  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, recurrentToCellWeightsInfo, descriptorName,
3153  "inputToForgetWeights", "recurrentToCellWeights");
3154  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, recurrentToOutputWeightsInfo, descriptorName,
3155  "inputToForgetWeights", "recurrentToOutputWeights");
3156 
3157  // Validate number of dimensions and number of elements for MANDATORY bias tensors
3158  ValidatePointer(m_ForgetGateBias, descriptorName, "ForgetGateBias");
3159  auto forgetGateBiasInfo = m_ForgetGateBias->GetTensorInfo();
3160  ValidateTensorNumDimNumElem(forgetGateBiasInfo, 1, numUnits, " ForgetGateBias");
3161 
3162  ValidatePointer(m_CellBias, descriptorName, "CellBias");
3163  auto cellBiasInfo = m_CellBias->GetTensorInfo();
3164  ValidateTensorNumDimNumElem(cellBiasInfo, 1, numUnits, " CellBias");
3165 
3166  ValidatePointer(m_OutputGateBias, descriptorName, "OutputGateBias");
3167  auto outputGateBiasInfo = m_OutputGateBias->GetTensorInfo();
3168  ValidateTensorNumDimNumElem(outputGateBiasInfo, 1, numUnits, " OutputGateBias");
3169 
3170  // Validate data types for MANDATORY bias tensors
3171  ValidateDataTypes(forgetGateBiasInfo, biasSupportedTypes, descriptorName);
3172 
3173  ValidateTensorDataTypesMatch(forgetGateBiasInfo, cellBiasInfo, descriptorName,
3174  "forgetGateBias", "cellBias");
3175  ValidateTensorDataTypesMatch(forgetGateBiasInfo, outputGateBiasInfo, descriptorName,
3176  "forgetGateBias", "outputGateBias");
3177 
3178  // Validate OPTIONAL params: CIFG (inputToInputWeights, recurrentToInputWeights, inputGateBias)
3179  const bool allCifgParamsPresentOrNot = ((m_InputToInputWeights && m_RecurrentToInputWeights && m_InputGateBias &&
3183 
3184  if (!allCifgParamsPresentOrNot)
3185  {
3186  throw InvalidArgumentException(descriptorName +
3187  ": InputToInputWeights, RecurrentToInputWeights and InputGateBias must either all be present "
3188  "(CIFG disabled) or not be present at all (CIFG enabled). m_Parameters.m_CifgEnabled should be "
3189  "set appropriately.");
3190  }
3191 
3193  {
3194  // Validate number of dimensions and number of elements
3195  auto inputToInputWeightsInfo = m_InputToInputWeights->GetTensorInfo();
3196  ValidateTensorNumDimNumElem(inputToInputWeightsInfo, 2, (numUnits * inputSize), " InputToInputWeights");
3197 
3198  auto recurrentToInputWeightsInfo = m_RecurrentToInputWeights->GetTensorInfo();
3199  ValidateTensorNumDimNumElem(recurrentToInputWeightsInfo, 2, (numUnits * outputSize),
3200  " RecurrentToInputWeights");
3201 
3202  auto inputGateBiasInfo = m_InputGateBias->GetTensorInfo();
3203  ValidateTensorNumDimNumElem(inputGateBiasInfo, 1, numUnits, " InputGateBias");
3204 
3205  // Validate data types
3206  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, inputToInputWeightsInfo, descriptorName,
3207  "inputToForgetWeights", "inputToInputWeights");
3208  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, recurrentToInputWeightsInfo, descriptorName,
3209  "inputToForgetWeights", "recurrentToInputWeights");
3210  ValidateTensorDataTypesMatch(forgetGateBiasInfo, inputGateBiasInfo, descriptorName,
3211  "forgetGateBias", "inputGateBias");
3212  }
3213 
3214  // Validate OPTIONAL params: Peephole (cellToInputWeights, cellToForgetWeights, cellToOutputWeights)
3215  bool allPeepholeWeightsPresentOrNot =
3220 
3221  if (!allPeepholeWeightsPresentOrNot)
3222  {
3223  throw InvalidArgumentException(descriptorName +
3224  ": CellToInputWeights, CellToForgetWeights and CellToOutputWeights should all be present (Peephole "
3225  "enabled) or not be present at all (Peephole disabled). CellToInputWeights should only be present "
3226  "when Peephole is enabled and CIFG is disabled. m_Parameters.m_PeepholeEnabled should be set "
3227  "appropriately.");
3228  }
3229 
3231  {
3232  auto cellToForgetWeightsInfo = m_CellToForgetWeights->GetTensorInfo();
3233  ValidateTensorNumDimNumElem(cellToForgetWeightsInfo, 1, numUnits, " cellToForgetWeights");
3234  ValidateDataTypes(cellToForgetWeightsInfo, layerNormPeepholeWeightsSupportedTypes, descriptorName);
3235 
3236  auto cellToOutputWeightsInfo = m_CellToOutputWeights->GetTensorInfo();
3237  ValidateTensorNumDimNumElem(cellToOutputWeightsInfo, 1, numUnits, " cellToOutputWeights");
3238  ValidateTensorDataTypesMatch(cellToForgetWeightsInfo, cellToOutputWeightsInfo, descriptorName,
3239  "cellToForgetWeight", "cellToOutputWeights");
3240 
3242  {
3243  auto cellToInputWeightsInfo = m_CellToInputWeights->GetTensorInfo();
3244  ValidateTensorNumDimNumElem(cellToInputWeightsInfo, 1, numUnits, " cellToInputWeights");
3245  ValidateTensorDataTypesMatch(cellToForgetWeightsInfo, cellToInputWeightsInfo, descriptorName,
3246  "cellToForgetWeights", "cellToInputWeights");
3247  }
3248  }
3249 
3250  // Validate OPTIONAL params: Layer Norm Weights
3251  bool allLayerNormWeightsPresentOrNot =
3256 
3257  if (!allLayerNormWeightsPresentOrNot)
3258  {
3259  throw InvalidArgumentException(descriptorName +
3260  ": InputLayerNormWeights, ForgetLayerNormWeights, m_OutputLayerNormWeights "
3261  "and CellLayerNormWeights should all be present (Layer Norm enabled) or not "
3262  "be present at all (Layer Norm disabled). InputLayerNormWeights should "
3263  "only be present when Layer Norm is enabled and CIFG is disabled. "
3264  "m_Parameters.m_LayerNormEnabled should be set appropriately.");
3265  }
3266 
3268  {
3269  auto forgetLayerNormWeightsInfo = m_ForgetLayerNormWeights->GetTensorInfo();
3270  ValidateTensorNumDimNumElem(forgetLayerNormWeightsInfo, 1, numUnits, " forgetLayerNormWeights");
3271  ValidateDataTypes(forgetLayerNormWeightsInfo, layerNormPeepholeWeightsSupportedTypes, descriptorName);
3272 
3273  auto cellLayerNormWeightsInfo = m_CellLayerNormWeights->GetTensorInfo();
3274  ValidateTensorNumDimNumElem(cellLayerNormWeightsInfo, 1, numUnits, " cellLayerNormWeights");
3275  ValidateTensorDataTypesMatch(forgetLayerNormWeightsInfo, cellLayerNormWeightsInfo, descriptorName,
3276  "forgetLayerNormWeights", "cellLayerNormWeights");
3277 
3278  auto outputLayerNormWeightsInfo = m_OutputLayerNormWeights->GetTensorInfo();
3279  ValidateTensorNumDimNumElem(outputLayerNormWeightsInfo, 1, numUnits, " outputLayerNormWeights");
3280  ValidateTensorDataTypesMatch(forgetLayerNormWeightsInfo, outputLayerNormWeightsInfo, descriptorName,
3281  "forgetLayerNormWeights", "outputLayerNormWeights");
3282 
3284  {
3285  auto inputLayerNormWeightsInfo = m_InputLayerNormWeights->GetTensorInfo();
3286  ValidateTensorNumDimNumElem(inputLayerNormWeightsInfo, 1, numUnits, " inputLayerNormWeights");
3287  ValidateTensorDataTypesMatch(forgetLayerNormWeightsInfo, inputLayerNormWeightsInfo, descriptorName,
3288  "forgetLayerNormWeights", "inputLayerNormWeights");
3289  }
3290  }
3291 
3292  // Validate OPTIONAL params: Projection (projectionWeights, projectionBias)
3293  bool correctProjectionTensorsPresent =
3297 
3298  if (!correctProjectionTensorsPresent)
3299  {
3300  throw InvalidArgumentException(descriptorName +
3301  ": If projection is enabled, ProjectionWeights should be present and "
3302  "ProjectionBias is optional. If projection is disabled, neither "
3303  "ProjectionWeights nor ProjectionBias should be present.");
3304  }
3305 
3307  {
3308  auto projectionWeightsInfo = m_ProjectionWeights->GetTensorInfo();
3309  ValidateTensorNumDimNumElem(projectionWeightsInfo, 2, (numUnits * outputSize), "ProjectionWeights");
3310  ValidateDataTypes(projectionWeightsInfo, weightsSupportedTypes, descriptorName);
3311 
3312  if (m_ProjectionBias)
3313  {
3314  auto projectionBiasInfo = m_ProjectionBias->GetTensorInfo();
3315  ValidateTensorNumDimNumElem(projectionBiasInfo, 1, outputSize, "ProjectionBias");
3316  ValidateDataTypes(projectionBiasInfo, biasSupportedTypes, descriptorName);
3317  }
3318 
3319  }
3320  else if ((outputInfo.GetQuantizationScale() != m_Parameters.m_HiddenStateScale) &&
3321  outputInfo.GetQuantizationOffset() != m_Parameters.m_HiddenStateZeroPoint) {
3322  throw InvalidArgumentException(descriptorName +
3323  ": If projection is disabled, output quantization info (scale, offset) "
3324  "should match HiddenStateScale and HiddenStateZeroPoint.");
3325  }
3326 
3327 }
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
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 620 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_CellLayerNormWeights

const ConstTensorHandle* m_CellLayerNormWeights

Definition at line 626 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_CellToForgetWeights

const ConstTensorHandle* m_CellToForgetWeights

Definition at line 616 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_CellToInputWeights

const ConstTensorHandle* m_CellToInputWeights

Definition at line 615 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_CellToOutputWeights

const ConstTensorHandle* m_CellToOutputWeights

Definition at line 617 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_ForgetGateBias

const ConstTensorHandle* m_ForgetGateBias

Definition at line 619 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_ForgetLayerNormWeights

const ConstTensorHandle* m_ForgetLayerNormWeights

Definition at line 625 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputGateBias

const ConstTensorHandle* m_InputGateBias

Definition at line 618 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputLayerNormWeights

const ConstTensorHandle* m_InputLayerNormWeights

Definition at line 624 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputToCellWeights

const ConstTensorHandle* m_InputToCellWeights

Definition at line 609 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputToForgetWeights

const ConstTensorHandle* m_InputToForgetWeights

Definition at line 608 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputToInputWeights

const ConstTensorHandle* m_InputToInputWeights

Definition at line 607 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputToOutputWeights

const ConstTensorHandle* m_InputToOutputWeights

Definition at line 610 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_OutputGateBias

const ConstTensorHandle* m_OutputGateBias

Definition at line 621 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_OutputLayerNormWeights

const ConstTensorHandle* m_OutputLayerNormWeights

Definition at line 627 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_ProjectionBias

const ConstTensorHandle* m_ProjectionBias

Definition at line 623 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_ProjectionWeights

const ConstTensorHandle* m_ProjectionWeights

Definition at line 622 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_RecurrentToCellWeights

const ConstTensorHandle* m_RecurrentToCellWeights

Definition at line 613 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_RecurrentToForgetWeights

const ConstTensorHandle* m_RecurrentToForgetWeights

Definition at line 612 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_RecurrentToInputWeights

const ConstTensorHandle* m_RecurrentToInputWeights

Definition at line 611 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_RecurrentToOutputWeights

const ConstTensorHandle* m_RecurrentToOutputWeights

Definition at line 614 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().


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