24.02
|
#include <WorkloadData.hpp>
Public Member Functions | |
UnidirectionalSequenceLstmQueueDescriptor () | |
void | Validate (const WorkloadInfo &workloadInfo) const |
Public Member Functions inherited from QueueDescriptorWithParameters< LstmDescriptor > | |
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< LstmDescriptor > | |
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 696 of file WorkloadData.hpp.
|
inline |
Definition at line 698 of file WorkloadData.hpp.
void Validate | ( | const WorkloadInfo & | workloadInfo | ) | const |
Definition at line 3920 of file WorkloadData.cpp.
References armnn::Float32, ConstTensorHandle::GetShape(), ConstTensorHandle::GetTensorInfo(), UnidirectionalSequenceLstmQueueDescriptor::m_CellBias, UnidirectionalSequenceLstmQueueDescriptor::m_CellLayerNormWeights, UnidirectionalSequenceLstmQueueDescriptor::m_CellToForgetWeights, UnidirectionalSequenceLstmQueueDescriptor::m_CellToInputWeights, UnidirectionalSequenceLstmQueueDescriptor::m_CellToOutputWeights, LstmDescriptor::m_CifgEnabled, LstmDescriptor::m_ClippingThresCell, LstmDescriptor::m_ClippingThresProj, UnidirectionalSequenceLstmQueueDescriptor::m_ForgetGateBias, UnidirectionalSequenceLstmQueueDescriptor::m_ForgetLayerNormWeights, UnidirectionalSequenceLstmQueueDescriptor::m_InputGateBias, UnidirectionalSequenceLstmQueueDescriptor::m_InputLayerNormWeights, WorkloadInfo::m_InputTensorInfos, UnidirectionalSequenceLstmQueueDescriptor::m_InputToCellWeights, UnidirectionalSequenceLstmQueueDescriptor::m_InputToForgetWeights, UnidirectionalSequenceLstmQueueDescriptor::m_InputToInputWeights, UnidirectionalSequenceLstmQueueDescriptor::m_InputToOutputWeights, LstmDescriptor::m_LayerNormEnabled, UnidirectionalSequenceLstmQueueDescriptor::m_OutputGateBias, UnidirectionalSequenceLstmQueueDescriptor::m_OutputLayerNormWeights, WorkloadInfo::m_OutputTensorInfos, QueueDescriptorWithParameters< LstmDescriptor >::m_Parameters, LstmDescriptor::m_PeepholeEnabled, UnidirectionalSequenceLstmQueueDescriptor::m_ProjectionBias, LstmDescriptor::m_ProjectionEnabled, UnidirectionalSequenceLstmQueueDescriptor::m_ProjectionWeights, UnidirectionalSequenceLstmQueueDescriptor::m_RecurrentToCellWeights, UnidirectionalSequenceLstmQueueDescriptor::m_RecurrentToForgetWeights, UnidirectionalSequenceLstmQueueDescriptor::m_RecurrentToInputWeights, UnidirectionalSequenceLstmQueueDescriptor::m_RecurrentToOutputWeights, LstmDescriptor::m_TimeMajor, armnn::QAsymmS8, and QueueDescriptor::ValidateTensorNumDimNumElem().
const ConstTensorHandle* m_CellBias |
Definition at line 736 of file WorkloadData.hpp.
Referenced by UnidirectionalSequenceLstmLayer::CreateWorkload(), and UnidirectionalSequenceLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_CellLayerNormWeights |
Definition at line 742 of file WorkloadData.hpp.
Referenced by UnidirectionalSequenceLstmLayer::CreateWorkload(), and UnidirectionalSequenceLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_CellToForgetWeights |
Definition at line 732 of file WorkloadData.hpp.
Referenced by UnidirectionalSequenceLstmLayer::CreateWorkload(), and UnidirectionalSequenceLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_CellToInputWeights |
Definition at line 731 of file WorkloadData.hpp.
Referenced by UnidirectionalSequenceLstmLayer::CreateWorkload(), and UnidirectionalSequenceLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_CellToOutputWeights |
Definition at line 733 of file WorkloadData.hpp.
Referenced by UnidirectionalSequenceLstmLayer::CreateWorkload(), and UnidirectionalSequenceLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_ForgetGateBias |
Definition at line 735 of file WorkloadData.hpp.
Referenced by UnidirectionalSequenceLstmLayer::CreateWorkload(), and UnidirectionalSequenceLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_ForgetLayerNormWeights |
Definition at line 741 of file WorkloadData.hpp.
Referenced by UnidirectionalSequenceLstmLayer::CreateWorkload(), and UnidirectionalSequenceLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_InputGateBias |
Definition at line 734 of file WorkloadData.hpp.
Referenced by UnidirectionalSequenceLstmLayer::CreateWorkload(), and UnidirectionalSequenceLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_InputLayerNormWeights |
Definition at line 740 of file WorkloadData.hpp.
Referenced by UnidirectionalSequenceLstmLayer::CreateWorkload(), and UnidirectionalSequenceLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_InputToCellWeights |
Definition at line 725 of file WorkloadData.hpp.
Referenced by UnidirectionalSequenceLstmLayer::CreateWorkload(), and UnidirectionalSequenceLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_InputToForgetWeights |
Definition at line 724 of file WorkloadData.hpp.
Referenced by UnidirectionalSequenceLstmLayer::CreateWorkload(), and UnidirectionalSequenceLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_InputToInputWeights |
Definition at line 723 of file WorkloadData.hpp.
Referenced by UnidirectionalSequenceLstmLayer::CreateWorkload(), and UnidirectionalSequenceLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_InputToOutputWeights |
Definition at line 726 of file WorkloadData.hpp.
Referenced by UnidirectionalSequenceLstmLayer::CreateWorkload(), and UnidirectionalSequenceLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_OutputGateBias |
Definition at line 737 of file WorkloadData.hpp.
Referenced by UnidirectionalSequenceLstmLayer::CreateWorkload(), and UnidirectionalSequenceLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_OutputLayerNormWeights |
Definition at line 743 of file WorkloadData.hpp.
Referenced by UnidirectionalSequenceLstmLayer::CreateWorkload(), and UnidirectionalSequenceLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_ProjectionBias |
Definition at line 739 of file WorkloadData.hpp.
Referenced by UnidirectionalSequenceLstmLayer::CreateWorkload(), and UnidirectionalSequenceLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_ProjectionWeights |
Definition at line 738 of file WorkloadData.hpp.
Referenced by UnidirectionalSequenceLstmLayer::CreateWorkload(), and UnidirectionalSequenceLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_RecurrentToCellWeights |
Definition at line 729 of file WorkloadData.hpp.
Referenced by UnidirectionalSequenceLstmLayer::CreateWorkload(), and UnidirectionalSequenceLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_RecurrentToForgetWeights |
Definition at line 728 of file WorkloadData.hpp.
Referenced by UnidirectionalSequenceLstmLayer::CreateWorkload(), and UnidirectionalSequenceLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_RecurrentToInputWeights |
Definition at line 727 of file WorkloadData.hpp.
Referenced by UnidirectionalSequenceLstmLayer::CreateWorkload(), and UnidirectionalSequenceLstmQueueDescriptor::Validate().
const ConstTensorHandle* m_RecurrentToOutputWeights |
Definition at line 730 of file WorkloadData.hpp.
Referenced by UnidirectionalSequenceLstmLayer::CreateWorkload(), and UnidirectionalSequenceLstmQueueDescriptor::Validate().