ArmNN
 24.02
UnmapQueueDescriptor Struct Reference

#include <WorkloadData.hpp>

Inheritance diagram for UnmapQueueDescriptor:
[legend]
Collaboration diagram for UnmapQueueDescriptor:
[legend]

Public Member Functions

void Validate (const WorkloadInfo &workloadInfo) const
 
- 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 QueueDescriptor
std::vector< ITensorHandle * > m_Inputs
 
std::vector< ITensorHandle * > m_Outputs
 
void * m_AdditionalInfoObject
 
bool m_AllowExpandedDims = false
 
- Protected Member Functions inherited from QueueDescriptor
 QueueDescriptor ()
 
 QueueDescriptor (QueueDescriptor const &)=default
 
QueueDescriptoroperator= (QueueDescriptor const &)=default
 

Detailed Description

Definition at line 81 of file WorkloadData.hpp.

Member Function Documentation

◆ Validate()

void Validate ( const WorkloadInfo workloadInfo) const

Definition at line 472 of file WorkloadData.cpp.

473 {
474  const std::string descriptorName{"UnmapQueueDescriptor"};
475 
476  ValidateNumInputs(workloadInfo, descriptorName, 1);
477  ValidateNumOutputs(workloadInfo, descriptorName, 0);
478 
479  for (unsigned int i = 0; i < m_Inputs.size(); ++i)
480  {
481  if (!m_Inputs[i])
482  {
484  fmt::format("{}: Invalid NULL input {}.", descriptorName, static_cast<int>(i)));
485  }
486  }
487 }

References QueueDescriptor::m_Inputs.


The documentation for this struct was generated from the following files:
armnn::InvalidArgumentException
Definition: Exceptions.hpp:80
armnn::QueueDescriptor::m_Inputs
std::vector< ITensorHandle * > m_Inputs
Definition: WorkloadData.hpp:26