ArmNN
 21.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 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 569 of file WorkloadData.hpp.

Constructor & Destructor Documentation

◆ QLstmQueueDescriptor()

Definition at line 571 of file WorkloadData.hpp.

572  : m_InputToInputWeights(nullptr)
573  , m_InputToForgetWeights(nullptr)
574  , m_InputToCellWeights(nullptr)
575  , m_InputToOutputWeights(nullptr)
576  , m_RecurrentToInputWeights(nullptr)
577  , m_RecurrentToForgetWeights(nullptr)
578  , m_RecurrentToCellWeights(nullptr)
579  , m_RecurrentToOutputWeights(nullptr)
580  , m_CellToInputWeights(nullptr)
581  , m_CellToForgetWeights(nullptr)
582  , m_CellToOutputWeights(nullptr)
583  , m_InputGateBias(nullptr)
584  , m_ForgetGateBias(nullptr)
585  , m_CellBias(nullptr)
586  , m_OutputGateBias(nullptr)
587  , m_ProjectionWeights(nullptr)
588  , m_ProjectionBias(nullptr)
589  , m_InputLayerNormWeights(nullptr)
590  , m_ForgetLayerNormWeights(nullptr)
591  , m_CellLayerNormWeights(nullptr)
592  , m_OutputLayerNormWeights(nullptr)
593  {
594  }
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 2974 of file WorkloadData.cpp.

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

2975 {
2976  const std::string descriptorName{"QLstmQueueDescriptor"};
2977 
2978  // Validate number of inputs/outputs
2979  ValidateNumInputs(workloadInfo, descriptorName, 3);
2980  ValidateNumOutputs(workloadInfo, descriptorName, 3);
2981 
2982  // Input/output tensor info
2983  auto inputInfo = workloadInfo.m_InputTensorInfos[0];
2984  auto outputStateInInfo = workloadInfo.m_InputTensorInfos[1];
2985  auto cellStateInInfo = workloadInfo.m_InputTensorInfos[2];
2986 
2987  auto outputStateOutInfo = workloadInfo.m_OutputTensorInfos[0];
2988  auto cellStateOutInfo = workloadInfo.m_OutputTensorInfos[1];
2989  auto outputInfo = workloadInfo.m_OutputTensorInfos[2];
2990 
2991  // Supported types for various tensors in QLSTM
2992  std::vector<DataType> inputOutputSupportedTypes =
2993  {
2995  };
2996 
2997  std::vector<DataType> cellStateSupportedTypes =
2998  {
3000  };
3001 
3002  std::vector<DataType> weightsSupportedTypes =
3003  {
3005  };
3006 
3007  std::vector<DataType> layerNormPeepholeWeightsSupportedTypes =
3008  {
3010  };
3011 
3012  std::vector<DataType> biasSupportedTypes =
3013  {
3015  };
3016 
3017  // Validate types of input/output tensors
3018  ValidateDataTypes(inputInfo, inputOutputSupportedTypes, descriptorName);
3019  ValidateDataTypes(outputStateInInfo, inputOutputSupportedTypes, descriptorName);
3020  ValidateDataTypes(cellStateInInfo, cellStateSupportedTypes, descriptorName);
3021 
3022  ValidateDataTypes(outputStateOutInfo, inputOutputSupportedTypes, descriptorName);
3023  ValidateDataTypes(cellStateOutInfo, cellStateSupportedTypes, descriptorName);
3024  ValidateDataTypes(outputInfo, inputOutputSupportedTypes, descriptorName);
3025 
3026  // Validate matching types of input/output tensors
3027  ValidateTensorDataTypesMatch(inputInfo, outputStateInInfo, descriptorName, "input", "outputStateIn");
3028  ValidateTensorDataTypesMatch(outputStateInInfo, outputStateOutInfo, descriptorName,
3029  "outputStateIn", "outputStateOut");
3030  ValidateTensorDataTypesMatch(cellStateInInfo, cellStateOutInfo, descriptorName, "cellStateIn", "cellStateOut");
3031 
3032  // Infer number of batches, number of units, input size and output size from tensor dimensions
3033  const uint32_t numBatches = inputInfo.GetShape()[0];
3034  const uint32_t inputSize = inputInfo.GetShape()[1];
3035  const uint32_t outputSize = outputStateInInfo.GetShape()[1];
3036  const uint32_t numUnits = cellStateInInfo.GetShape()[1];
3037 
3038  // Validate number of dimensions and number of elements for input/output tensors
3039  ValidateTensorNumDimNumElem(inputInfo, 2, (numBatches * inputSize), descriptorName + " input");
3040  ValidateTensorNumDimNumElem(outputStateInInfo, 2, (numBatches * outputSize), descriptorName + " outputStateIn");
3041  ValidateTensorNumDimNumElem(cellStateInInfo, 2, (numBatches * numUnits), descriptorName + " cellStateIn");
3042 
3043  ValidateTensorNumDimNumElem(outputStateOutInfo, 2, (numBatches * outputSize), descriptorName + " outputStateOut");
3044  ValidateTensorNumDimNumElem(cellStateOutInfo, 2, (numBatches * numUnits), descriptorName + " cellStateOut");
3045  ValidateTensorNumDimNumElem(outputInfo, 2, (numBatches * outputSize), descriptorName + " output");
3046 
3047  // Validate number of dimensions and number of elements for MANDATORY weight tensors
3048  ValidatePointer(m_InputToForgetWeights, descriptorName, "InputToForgetWeights");
3049  auto inputToForgetWeightsInfo = m_InputToForgetWeights->GetTensorInfo();
3050  ValidateTensorNumDimNumElem(inputToForgetWeightsInfo, 2, (numUnits * inputSize), " InputToForgetWeights");
3051 
3052  ValidatePointer(m_InputToCellWeights, descriptorName, "InputToCellWeights");
3053  auto inputToCellWeightsInfo = m_InputToCellWeights->GetTensorInfo();
3054  ValidateTensorNumDimNumElem(inputToCellWeightsInfo, 2, (numUnits * inputSize), " InputToCellWeights");
3055 
3056  ValidatePointer(m_InputToOutputWeights, descriptorName, "InputToOutputWeights");
3057  auto inputToOutputWeightsInfo = m_InputToOutputWeights->GetTensorInfo();
3058  ValidateTensorNumDimNumElem(inputToOutputWeightsInfo, 2, (numUnits * inputSize), " InputToOutputWeights");
3059 
3060  ValidatePointer(m_RecurrentToForgetWeights, descriptorName, "RecurrentToForgetWeights");
3061  auto recurrentToForgetWeightsInfo = m_RecurrentToForgetWeights->GetTensorInfo();
3062  ValidateTensorNumDimNumElem(recurrentToForgetWeightsInfo, 2, (numUnits * outputSize),
3063  " RecurrentToForgetWeights");
3064 
3065  ValidatePointer(m_RecurrentToCellWeights, descriptorName, "RecurrentToCellWeights");
3066  auto recurrentToCellWeightsInfo = m_RecurrentToCellWeights->GetTensorInfo();
3067  ValidateTensorNumDimNumElem(recurrentToCellWeightsInfo, 2, (numUnits * outputSize), " RecurrentToCellWeights");
3068 
3069  ValidatePointer(m_RecurrentToOutputWeights, descriptorName, "RecurrentToOutputWeights");
3070  auto recurrentToOutputWeightsInfo = m_RecurrentToOutputWeights->GetTensorInfo();
3071  ValidateTensorNumDimNumElem(recurrentToOutputWeightsInfo, 2, (numUnits * outputSize), " RecurrentToCellWeights");
3072 
3073  // Validate data types for MANDATORY weights tensors (all should match each other)
3074  ValidateDataTypes(inputToForgetWeightsInfo, weightsSupportedTypes, descriptorName);
3075 
3076  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, inputToCellWeightsInfo, descriptorName,
3077  "inputToForgetWeights", "inputToCellWeights");
3078  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, inputToOutputWeightsInfo, descriptorName,
3079  "inputToForgetWeights", "inputToOutputWeights");
3080 
3081  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, recurrentToForgetWeightsInfo, descriptorName,
3082  "inputToForgetWeights", "recurrentToForgeteights");
3083  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, recurrentToCellWeightsInfo, descriptorName,
3084  "inputToForgetWeights", "recurrentToCellWeights");
3085  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, recurrentToOutputWeightsInfo, descriptorName,
3086  "inputToForgetWeights", "recurrentToOutputWeights");
3087 
3088  // Validate number of dimensions and number of elements for MANDATORY bias tensors
3089  ValidatePointer(m_ForgetGateBias, descriptorName, "ForgetGateBias");
3090  auto forgetGateBiasInfo = m_ForgetGateBias->GetTensorInfo();
3091  ValidateTensorNumDimNumElem(forgetGateBiasInfo, 1, numUnits, " ForgetGateBias");
3092 
3093  ValidatePointer(m_CellBias, descriptorName, "CellBias");
3094  auto cellBiasInfo = m_CellBias->GetTensorInfo();
3095  ValidateTensorNumDimNumElem(cellBiasInfo, 1, numUnits, " CellBias");
3096 
3097  ValidatePointer(m_OutputGateBias, descriptorName, "OutputGateBias");
3098  auto outputGateBiasInfo = m_OutputGateBias->GetTensorInfo();
3099  ValidateTensorNumDimNumElem(outputGateBiasInfo, 1, numUnits, " OutputGateBias");
3100 
3101  // Validate data types for MANDATORY bias tensors
3102  ValidateDataTypes(forgetGateBiasInfo, biasSupportedTypes, descriptorName);
3103 
3104  ValidateTensorDataTypesMatch(forgetGateBiasInfo, cellBiasInfo, descriptorName,
3105  "forgetGateBias", "cellBias");
3106  ValidateTensorDataTypesMatch(forgetGateBiasInfo, outputGateBiasInfo, descriptorName,
3107  "forgetGateBias", "outputGateBias");
3108 
3109  // Validate OPTIONAL params: CIFG (inputToInputWeights, recurrentToInputWeights, inputGateBias)
3110  const bool allCifgParamsPresentOrNot = ((m_InputToInputWeights && m_RecurrentToInputWeights && m_InputGateBias &&
3114 
3115  if (!allCifgParamsPresentOrNot)
3116  {
3117  throw InvalidArgumentException(descriptorName +
3118  ": InputToInputWeights, RecurrentToInputWeights and InputGateBias must either all be present "
3119  "(CIFG disabled) or not be present at all (CIFG enabled). m_Parameters.m_CifgEnabled should be "
3120  "set appropriately.");
3121  }
3122 
3124  {
3125  // Validate number of dimensions and number of elements
3126  auto inputToInputWeightsInfo = m_InputToInputWeights->GetTensorInfo();
3127  ValidateTensorNumDimNumElem(inputToInputWeightsInfo, 2, (numUnits * inputSize), " InputToInputWeights");
3128 
3129  auto recurrentToInputWeightsInfo = m_RecurrentToInputWeights->GetTensorInfo();
3130  ValidateTensorNumDimNumElem(recurrentToInputWeightsInfo, 2, (numUnits * outputSize),
3131  " RecurrentToInputWeights");
3132 
3133  auto inputGateBiasInfo = m_InputGateBias->GetTensorInfo();
3134  ValidateTensorNumDimNumElem(inputGateBiasInfo, 1, numUnits, " InputGateBias");
3135 
3136  // Validate data types
3137  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, inputToInputWeightsInfo, descriptorName,
3138  "inputToForgetWeights", "inputToInputWeights");
3139  ValidateTensorDataTypesMatch(inputToForgetWeightsInfo, recurrentToInputWeightsInfo, descriptorName,
3140  "inputToForgetWeights", "recurrentToInputWeights");
3141  ValidateTensorDataTypesMatch(forgetGateBiasInfo, inputGateBiasInfo, descriptorName,
3142  "forgetGateBias", "inputGateBias");
3143  }
3144 
3145  // Validate OPTIONAL params: Peephole (cellToInputWeights, cellToForgetWeights, cellToOutputWeights)
3146  bool allPeepholeWeightsPresentOrNot =
3151 
3152  if (!allPeepholeWeightsPresentOrNot)
3153  {
3154  throw InvalidArgumentException(descriptorName +
3155  ": CellToInputWeights, CellToForgetWeights and CellToOutputWeights should all be present (Peephole "
3156  "enabled) or not be present at all (Peephole disabled). CellToInputWeights should only be present "
3157  "when Peephole is enabled and CIFG is disabled. m_Parameters.m_PeepholeEnabled should be set "
3158  "appropriately.");
3159  }
3160 
3162  {
3163  auto cellToForgetWeightsInfo = m_CellToForgetWeights->GetTensorInfo();
3164  ValidateTensorNumDimNumElem(cellToForgetWeightsInfo, 1, numUnits, " cellToForgetWeights");
3165  ValidateDataTypes(cellToForgetWeightsInfo, layerNormPeepholeWeightsSupportedTypes, descriptorName);
3166 
3167  auto cellToOutputWeightsInfo = m_CellToOutputWeights->GetTensorInfo();
3168  ValidateTensorNumDimNumElem(cellToOutputWeightsInfo, 1, numUnits, " cellToOutputWeights");
3169  ValidateTensorDataTypesMatch(cellToForgetWeightsInfo, cellToOutputWeightsInfo, descriptorName,
3170  "cellToForgetWeight", "cellToOutputWeights");
3171 
3173  {
3174  auto cellToInputWeightsInfo = m_CellToInputWeights->GetTensorInfo();
3175  ValidateTensorNumDimNumElem(cellToInputWeightsInfo, 1, numUnits, " cellToInputWeights");
3176  ValidateTensorDataTypesMatch(cellToForgetWeightsInfo, cellToInputWeightsInfo, descriptorName,
3177  "cellToForgetWeights", "cellToInputWeights");
3178  }
3179  }
3180 
3181  // Validate OPTIONAL params: Layer Norm Weights
3182  bool allLayerNormWeightsPresentOrNot =
3187 
3188  if (!allLayerNormWeightsPresentOrNot)
3189  {
3190  throw InvalidArgumentException(descriptorName +
3191  ": InputLayerNormWeights, ForgetLayerNormWeights, m_OutputLayerNormWeights "
3192  "and CellLayerNormWeights should all be present (Layer Norm enabled) or not "
3193  "be present at all (Layer Norm disabled). InputLayerNormWeights should "
3194  "only be present when Layer Norm is enabled and CIFG is disabled. "
3195  "m_Parameters.m_LayerNormEnabled should be set appropriately.");
3196  }
3197 
3199  {
3200  auto forgetLayerNormWeightsInfo = m_ForgetLayerNormWeights->GetTensorInfo();
3201  ValidateTensorNumDimNumElem(forgetLayerNormWeightsInfo, 1, numUnits, " forgetLayerNormWeights");
3202  ValidateDataTypes(forgetLayerNormWeightsInfo, layerNormPeepholeWeightsSupportedTypes, descriptorName);
3203 
3204  auto cellLayerNormWeightsInfo = m_CellLayerNormWeights->GetTensorInfo();
3205  ValidateTensorNumDimNumElem(cellLayerNormWeightsInfo, 1, numUnits, " cellLayerNormWeights");
3206  ValidateTensorDataTypesMatch(forgetLayerNormWeightsInfo, cellLayerNormWeightsInfo, descriptorName,
3207  "forgetLayerNormWeights", "cellLayerNormWeights");
3208 
3209  auto outputLayerNormWeightsInfo = m_OutputLayerNormWeights->GetTensorInfo();
3210  ValidateTensorNumDimNumElem(outputLayerNormWeightsInfo, 1, numUnits, " outputLayerNormWeights");
3211  ValidateTensorDataTypesMatch(forgetLayerNormWeightsInfo, outputLayerNormWeightsInfo, descriptorName,
3212  "forgetLayerNormWeights", "outputLayerNormWeights");
3213 
3215  {
3216  auto inputLayerNormWeightsInfo = m_InputLayerNormWeights->GetTensorInfo();
3217  ValidateTensorNumDimNumElem(inputLayerNormWeightsInfo, 1, numUnits, " inputLayerNormWeights");
3218  ValidateTensorDataTypesMatch(forgetLayerNormWeightsInfo, inputLayerNormWeightsInfo, descriptorName,
3219  "forgetLayerNormWeights", "inputLayerNormWeights");
3220  }
3221  }
3222 
3223  // Validate OPTIONAL params: Projection (projectionWeights, projectionBias)
3224  bool correctProjectionTensorsPresent =
3228 
3229  if (!correctProjectionTensorsPresent)
3230  {
3231  throw InvalidArgumentException(descriptorName +
3232  ": If projection is enabled, ProjectionWeights should be present and "
3233  "ProjectionBias is optional. If projection is disabled, neither "
3234  "ProjectionWeights nor ProjectionBias should be present.");
3235  }
3236 
3238  {
3239  auto projectionWeightsInfo = m_ProjectionWeights->GetTensorInfo();
3240  ValidateTensorNumDimNumElem(projectionWeightsInfo, 2, (numUnits * outputSize), "ProjectionWeights");
3241  ValidateDataTypes(projectionWeightsInfo, weightsSupportedTypes, descriptorName);
3242 
3243  if (m_ProjectionBias)
3244  {
3245  auto projectionBiasInfo = m_ProjectionBias->GetTensorInfo();
3246  ValidateTensorNumDimNumElem(projectionBiasInfo, 1, outputSize, "ProjectionBias");
3247  ValidateDataTypes(projectionBiasInfo, biasSupportedTypes, descriptorName);
3248  }
3249 
3250  }
3251  else if ((outputInfo.GetQuantizationScale() != m_Parameters.m_HiddenStateScale) &&
3252  outputInfo.GetQuantizationOffset() != m_Parameters.m_HiddenStateZeroPoint) {
3253  throw InvalidArgumentException(descriptorName +
3254  ": If projection is disabled, output quantization info (scale, offset) "
3255  "should match HiddenStateScale and HiddenStateZeroPoint.");
3256  }
3257 
3258 }
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 609 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_CellLayerNormWeights

const ConstTensorHandle* m_CellLayerNormWeights

Definition at line 615 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_CellToForgetWeights

const ConstTensorHandle* m_CellToForgetWeights

Definition at line 605 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_CellToInputWeights

const ConstTensorHandle* m_CellToInputWeights

Definition at line 604 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_CellToOutputWeights

const ConstTensorHandle* m_CellToOutputWeights

Definition at line 606 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_ForgetGateBias

const ConstTensorHandle* m_ForgetGateBias

Definition at line 608 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_ForgetLayerNormWeights

const ConstTensorHandle* m_ForgetLayerNormWeights

Definition at line 614 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputGateBias

const ConstTensorHandle* m_InputGateBias

Definition at line 607 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputLayerNormWeights

const ConstTensorHandle* m_InputLayerNormWeights

Definition at line 613 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputToCellWeights

const ConstTensorHandle* m_InputToCellWeights

Definition at line 598 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputToForgetWeights

const ConstTensorHandle* m_InputToForgetWeights

Definition at line 597 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputToInputWeights

const ConstTensorHandle* m_InputToInputWeights

Definition at line 596 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputToOutputWeights

const ConstTensorHandle* m_InputToOutputWeights

Definition at line 599 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_OutputGateBias

const ConstTensorHandle* m_OutputGateBias

Definition at line 610 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_OutputLayerNormWeights

const ConstTensorHandle* m_OutputLayerNormWeights

Definition at line 616 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_ProjectionBias

const ConstTensorHandle* m_ProjectionBias

Definition at line 612 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_ProjectionWeights

const ConstTensorHandle* m_ProjectionWeights

Definition at line 611 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_RecurrentToCellWeights

const ConstTensorHandle* m_RecurrentToCellWeights

Definition at line 602 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_RecurrentToForgetWeights

const ConstTensorHandle* m_RecurrentToForgetWeights

Definition at line 601 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_RecurrentToInputWeights

const ConstTensorHandle* m_RecurrentToInputWeights

Definition at line 600 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_RecurrentToOutputWeights

const ConstTensorHandle* m_RecurrentToOutputWeights

Definition at line 603 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().


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