24.08
|
#include <WorkloadData.hpp>
Public Member Functions | |
LstmQueueDescriptor () | |
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 400 of file WorkloadData.hpp.
|
inline |
Definition at line 402 of file WorkloadData.hpp.
void Validate | ( | const WorkloadInfo & | workloadInfo | ) | const |
Definition at line 2014 of file WorkloadData.cpp.
References armnn::BFloat16, armnn::Float16, armnn::Float32, ConstTensorHandle::GetShape(), ConstTensorHandle::GetTensorInfo(), LstmQueueDescriptor::m_CellBias, LstmQueueDescriptor::m_CellLayerNormWeights, LstmQueueDescriptor::m_CellToForgetWeights, LstmQueueDescriptor::m_CellToInputWeights, LstmQueueDescriptor::m_CellToOutputWeights, LstmDescriptor::m_CifgEnabled, LstmDescriptor::m_ClippingThresCell, LstmDescriptor::m_ClippingThresProj, LstmQueueDescriptor::m_ForgetGateBias, LstmQueueDescriptor::m_ForgetLayerNormWeights, LstmQueueDescriptor::m_InputGateBias, LstmQueueDescriptor::m_InputLayerNormWeights, WorkloadInfo::m_InputTensorInfos, LstmQueueDescriptor::m_InputToCellWeights, LstmQueueDescriptor::m_InputToForgetWeights, LstmQueueDescriptor::m_InputToInputWeights, LstmQueueDescriptor::m_InputToOutputWeights, LstmDescriptor::m_LayerNormEnabled, LstmQueueDescriptor::m_OutputGateBias, LstmQueueDescriptor::m_OutputLayerNormWeights, WorkloadInfo::m_OutputTensorInfos, QueueDescriptorWithParameters< LstmDescriptor >::m_Parameters, LstmDescriptor::m_PeepholeEnabled, LstmQueueDescriptor::m_ProjectionBias, LstmDescriptor::m_ProjectionEnabled, LstmQueueDescriptor::m_ProjectionWeights, LstmQueueDescriptor::m_RecurrentToCellWeights, LstmQueueDescriptor::m_RecurrentToForgetWeights, LstmQueueDescriptor::m_RecurrentToInputWeights, LstmQueueDescriptor::m_RecurrentToOutputWeights, armnn::QSymmS16, and QueueDescriptor::ValidateTensorNumDimNumElem().
const ConstTensorHandle* m_CellBias |
Definition at line 440 of file WorkloadData.hpp.
Referenced by LstmLayer::CreateWorkload(), and LstmQueueDescriptor::Validate().
const ConstTensorHandle* m_CellLayerNormWeights |
Definition at line 446 of file WorkloadData.hpp.
Referenced by LstmLayer::CreateWorkload(), and LstmQueueDescriptor::Validate().
const ConstTensorHandle* m_CellToForgetWeights |
Definition at line 436 of file WorkloadData.hpp.
Referenced by LstmLayer::CreateWorkload(), and LstmQueueDescriptor::Validate().
const ConstTensorHandle* m_CellToInputWeights |
Definition at line 435 of file WorkloadData.hpp.
Referenced by LstmLayer::CreateWorkload(), and LstmQueueDescriptor::Validate().
const ConstTensorHandle* m_CellToOutputWeights |
Definition at line 437 of file WorkloadData.hpp.
Referenced by LstmLayer::CreateWorkload(), and LstmQueueDescriptor::Validate().
const ConstTensorHandle* m_ForgetGateBias |
Definition at line 439 of file WorkloadData.hpp.
Referenced by LstmLayer::CreateWorkload(), and LstmQueueDescriptor::Validate().
const ConstTensorHandle* m_ForgetLayerNormWeights |
Definition at line 445 of file WorkloadData.hpp.
Referenced by LstmLayer::CreateWorkload(), and LstmQueueDescriptor::Validate().
const ConstTensorHandle* m_InputGateBias |
Definition at line 438 of file WorkloadData.hpp.
Referenced by LstmLayer::CreateWorkload(), and LstmQueueDescriptor::Validate().
const ConstTensorHandle* m_InputLayerNormWeights |
Definition at line 444 of file WorkloadData.hpp.
Referenced by LstmLayer::CreateWorkload(), and LstmQueueDescriptor::Validate().
const ConstTensorHandle* m_InputToCellWeights |
Definition at line 429 of file WorkloadData.hpp.
Referenced by LstmLayer::CreateWorkload(), and LstmQueueDescriptor::Validate().
const ConstTensorHandle* m_InputToForgetWeights |
Definition at line 428 of file WorkloadData.hpp.
Referenced by LstmLayer::CreateWorkload(), and LstmQueueDescriptor::Validate().
const ConstTensorHandle* m_InputToInputWeights |
Definition at line 427 of file WorkloadData.hpp.
Referenced by LstmLayer::CreateWorkload(), and LstmQueueDescriptor::Validate().
const ConstTensorHandle* m_InputToOutputWeights |
Definition at line 430 of file WorkloadData.hpp.
Referenced by LstmLayer::CreateWorkload(), and LstmQueueDescriptor::Validate().
const ConstTensorHandle* m_OutputGateBias |
Definition at line 441 of file WorkloadData.hpp.
Referenced by LstmLayer::CreateWorkload(), and LstmQueueDescriptor::Validate().
const ConstTensorHandle* m_OutputLayerNormWeights |
Definition at line 447 of file WorkloadData.hpp.
Referenced by LstmLayer::CreateWorkload(), and LstmQueueDescriptor::Validate().
const ConstTensorHandle* m_ProjectionBias |
Definition at line 443 of file WorkloadData.hpp.
Referenced by LstmLayer::CreateWorkload(), and LstmQueueDescriptor::Validate().
const ConstTensorHandle* m_ProjectionWeights |
Definition at line 442 of file WorkloadData.hpp.
Referenced by LstmLayer::CreateWorkload(), and LstmQueueDescriptor::Validate().
const ConstTensorHandle* m_RecurrentToCellWeights |
Definition at line 433 of file WorkloadData.hpp.
Referenced by LstmLayer::CreateWorkload(), and LstmQueueDescriptor::Validate().
const ConstTensorHandle* m_RecurrentToForgetWeights |
Definition at line 432 of file WorkloadData.hpp.
Referenced by LstmLayer::CreateWorkload(), and LstmQueueDescriptor::Validate().
const ConstTensorHandle* m_RecurrentToInputWeights |
Definition at line 431 of file WorkloadData.hpp.
Referenced by LstmLayer::CreateWorkload(), and LstmQueueDescriptor::Validate().
const ConstTensorHandle* m_RecurrentToOutputWeights |
Definition at line 434 of file WorkloadData.hpp.
Referenced by LstmLayer::CreateWorkload(), and LstmQueueDescriptor::Validate().