24.08
|
#include <WorkloadData.hpp>
Public Member Functions | |
void | Validate (const WorkloadInfo &workloadInfo) const |
Public Member Functions inherited from QueueDescriptorWithParameters< PermuteDescriptor > | |
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 | |
Public Attributes inherited from QueueDescriptorWithParameters< PermuteDescriptor > | |
PermuteDescriptor | m_Parameters |
Public Attributes inherited from QueueDescriptor | |
std::vector< ITensorHandle * > | m_Inputs |
std::vector< ITensorHandle * > | m_Outputs |
void * | m_AdditionalInfoObject |
bool | m_AllowExpandedDims = false |
Protected Member Functions inherited from QueueDescriptorWithParameters< PermuteDescriptor > | |
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 191 of file WorkloadData.hpp.
void Validate | ( | const WorkloadInfo & | workloadInfo | ) | const |
Definition at line 1495 of file WorkloadData.cpp.
References TensorInfo::GetShape(), PermutationVector::GetSize(), PermuteDescriptor::m_DimMappings, WorkloadInfo::m_InputTensorInfos, WorkloadInfo::m_OutputTensorInfos, QueueDescriptorWithParameters< PermuteDescriptor >::m_Parameters, and QueueDescriptor::ValidateTensorNumDimensions().