24.02
|
#include <WorkloadData.hpp>
Public Member Functions | |
void | Validate (const WorkloadInfo &workloadInfo) const |
Public Member Functions inherited from QueueDescriptorWithParameters< SliceDescriptor > | |
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< SliceDescriptor > | |
SliceDescriptor | 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< SliceDescriptor > | |
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 656 of file WorkloadData.hpp.
void Validate | ( | const WorkloadInfo & | workloadInfo | ) | const |
Definition at line 3630 of file WorkloadData.cpp.
References TensorInfo::GetNumDimensions(), TensorInfo::GetShape(), SliceDescriptor::m_Begin, WorkloadInfo::m_InputTensorInfos, WorkloadInfo::m_OutputTensorInfos, QueueDescriptorWithParameters< SliceDescriptor >::m_Parameters, SliceDescriptor::m_Size, and QueueDescriptor::ValidateTensorNumDimensions().