ArmNN
 21.05
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 557 of file WorkloadData.hpp.

Constructor & Destructor Documentation

◆ QLstmQueueDescriptor()

Definition at line 559 of file WorkloadData.hpp.

560  : m_InputToInputWeights(nullptr)
561  , m_InputToForgetWeights(nullptr)
562  , m_InputToCellWeights(nullptr)
563  , m_InputToOutputWeights(nullptr)
564  , m_RecurrentToInputWeights(nullptr)
565  , m_RecurrentToForgetWeights(nullptr)
566  , m_RecurrentToCellWeights(nullptr)
567  , m_RecurrentToOutputWeights(nullptr)
568  , m_CellToInputWeights(nullptr)
569  , m_CellToForgetWeights(nullptr)
570  , m_CellToOutputWeights(nullptr)
571  , m_InputGateBias(nullptr)
572  , m_ForgetGateBias(nullptr)
573  , m_CellBias(nullptr)
574  , m_OutputGateBias(nullptr)
575  , m_ProjectionWeights(nullptr)
576  , m_ProjectionBias(nullptr)
577  , m_InputLayerNormWeights(nullptr)
578  , m_ForgetLayerNormWeights(nullptr)
579  , m_CellLayerNormWeights(nullptr)
580  , m_OutputLayerNormWeights(nullptr)
581  {
582  }
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 2964 of file WorkloadData.cpp.

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

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

Referenced by QLstmLayer::CreateWorkload().

◆ m_CellLayerNormWeights

const ConstTensorHandle* m_CellLayerNormWeights

Definition at line 603 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_CellToForgetWeights

const ConstTensorHandle* m_CellToForgetWeights

Definition at line 593 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_CellToInputWeights

const ConstTensorHandle* m_CellToInputWeights

Definition at line 592 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_CellToOutputWeights

const ConstTensorHandle* m_CellToOutputWeights

Definition at line 594 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_ForgetGateBias

const ConstTensorHandle* m_ForgetGateBias

Definition at line 596 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_ForgetLayerNormWeights

const ConstTensorHandle* m_ForgetLayerNormWeights

Definition at line 602 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputGateBias

const ConstTensorHandle* m_InputGateBias

Definition at line 595 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputLayerNormWeights

const ConstTensorHandle* m_InputLayerNormWeights

Definition at line 601 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputToCellWeights

const ConstTensorHandle* m_InputToCellWeights

Definition at line 586 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputToForgetWeights

const ConstTensorHandle* m_InputToForgetWeights

Definition at line 585 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputToInputWeights

const ConstTensorHandle* m_InputToInputWeights

Definition at line 584 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_InputToOutputWeights

const ConstTensorHandle* m_InputToOutputWeights

Definition at line 587 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_OutputGateBias

const ConstTensorHandle* m_OutputGateBias

Definition at line 598 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_OutputLayerNormWeights

const ConstTensorHandle* m_OutputLayerNormWeights

Definition at line 604 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_ProjectionBias

const ConstTensorHandle* m_ProjectionBias

Definition at line 600 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_ProjectionWeights

const ConstTensorHandle* m_ProjectionWeights

Definition at line 599 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_RecurrentToCellWeights

const ConstTensorHandle* m_RecurrentToCellWeights

Definition at line 590 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_RecurrentToForgetWeights

const ConstTensorHandle* m_RecurrentToForgetWeights

Definition at line 589 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_RecurrentToInputWeights

const ConstTensorHandle* m_RecurrentToInputWeights

Definition at line 588 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().

◆ m_RecurrentToOutputWeights

const ConstTensorHandle* m_RecurrentToOutputWeights

Definition at line 591 of file WorkloadData.hpp.

Referenced by QLstmLayer::CreateWorkload().


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