24.02
|
#include <WorkloadData.hpp>
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 |
Additional Inherited Members | |
Protected Member Functions inherited from QueueDescriptorWithParameters< QLstmDescriptor > | |
QueueDescriptorWithParameters ()=default | |
QueueDescriptorWithParameters (QueueDescriptorWithParameters const &)=default | |
QueueDescriptorWithParameters & | operator= (QueueDescriptorWithParameters const &)=default |
Protected Member Functions inherited from QueueDescriptor | |
QueueDescriptor () | |
QueueDescriptor (QueueDescriptor const &)=default | |
QueueDescriptor & | operator= (QueueDescriptor const &)=default |
Definition at line 562 of file WorkloadData.hpp.
|
inline |
Definition at line 564 of file WorkloadData.hpp.
void Validate | ( | const WorkloadInfo & | workloadInfo | ) | const |
Definition at line 3146 of file WorkloadData.cpp.
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().
const ConstTensorHandle* m_CellBias |
Definition at line 602 of file WorkloadData.hpp.
Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_CellLayerNormWeights |
Definition at line 608 of file WorkloadData.hpp.
Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_CellToForgetWeights |
Definition at line 598 of file WorkloadData.hpp.
Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_CellToInputWeights |
Definition at line 597 of file WorkloadData.hpp.
Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_CellToOutputWeights |
Definition at line 599 of file WorkloadData.hpp.
Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_ForgetGateBias |
Definition at line 601 of file WorkloadData.hpp.
Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_ForgetLayerNormWeights |
Definition at line 607 of file WorkloadData.hpp.
Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_InputGateBias |
Definition at line 600 of file WorkloadData.hpp.
Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_InputLayerNormWeights |
Definition at line 606 of file WorkloadData.hpp.
Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_InputToCellWeights |
Definition at line 591 of file WorkloadData.hpp.
Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_InputToForgetWeights |
Definition at line 590 of file WorkloadData.hpp.
Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_InputToInputWeights |
Definition at line 589 of file WorkloadData.hpp.
Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_InputToOutputWeights |
Definition at line 592 of file WorkloadData.hpp.
Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_OutputGateBias |
Definition at line 603 of file WorkloadData.hpp.
Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_OutputLayerNormWeights |
Definition at line 609 of file WorkloadData.hpp.
Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_ProjectionBias |
Definition at line 605 of file WorkloadData.hpp.
Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_ProjectionWeights |
Definition at line 604 of file WorkloadData.hpp.
Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_RecurrentToCellWeights |
Definition at line 595 of file WorkloadData.hpp.
Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_RecurrentToForgetWeights |
Definition at line 594 of file WorkloadData.hpp.
Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_RecurrentToInputWeights |
Definition at line 593 of file WorkloadData.hpp.
Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_RecurrentToOutputWeights |
Definition at line 596 of file WorkloadData.hpp.
Referenced by QLstmLayer::CreateWorkload(), and QLstmQueueDescriptor::Validate().