From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- 21.02/structarmnn_1_1_mean_queue_descriptor.xhtml | 215 ++++++++++++++++++++++ 1 file changed, 215 insertions(+) create mode 100644 21.02/structarmnn_1_1_mean_queue_descriptor.xhtml (limited to '21.02/structarmnn_1_1_mean_queue_descriptor.xhtml') diff --git a/21.02/structarmnn_1_1_mean_queue_descriptor.xhtml b/21.02/structarmnn_1_1_mean_queue_descriptor.xhtml new file mode 100644 index 0000000000..9ae6f3de98 --- /dev/null +++ b/21.02/structarmnn_1_1_mean_queue_descriptor.xhtml @@ -0,0 +1,215 @@ + + + + + + + + + + + + + +ArmNN: MeanQueueDescriptor Struct Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
MeanQueueDescriptor Struct Reference
+
+
+ +

#include <WorkloadData.hpp>

+
+Inheritance diagram for MeanQueueDescriptor:
+
+
+ + +QueueDescriptorWithParameters< MeanDescriptor > +QueueDescriptor + +
+ + + + + + + + + + +

+Public Member Functions

void Validate (const WorkloadInfo &workloadInfo) const
 
- Public Member Functions inherited from QueueDescriptor
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< MeanDescriptor >
MeanDescriptor m_Parameters
 
- Public Attributes inherited from QueueDescriptor
std::vector< ITensorHandle * > m_Inputs
 
std::vector< ITensorHandle * > m_Outputs
 
void * m_AdditionalInfoObject
 
- Protected Member Functions inherited from QueueDescriptorWithParameters< MeanDescriptor >
 ~QueueDescriptorWithParameters ()=default
 
 QueueDescriptorWithParameters ()=default
 
 QueueDescriptorWithParameters (QueueDescriptorWithParameters const &)=default
 
QueueDescriptorWithParametersoperator= (QueueDescriptorWithParameters const &)=default
 
- Protected Member Functions inherited from QueueDescriptor
 ~QueueDescriptor ()=default
 
 QueueDescriptor ()
 
 QueueDescriptor (QueueDescriptor const &)=default
 
QueueDescriptoroperator= (QueueDescriptor const &)=default
 
+

Detailed Description

+
+

Definition at line 270 of file WorkloadData.hpp.

+

Member Function Documentation

+ +

◆ Validate()

+ +
+
+ + + + + + + + +
void Validate (const WorkloadInfoworkloadInfo) const
+
+ +

Definition at line 2314 of file WorkloadData.cpp.

+ +

References armnn::BFloat16, armnn::Float16, armnn::Float32, TensorInfo::GetNumDimensions(), WorkloadInfo::m_InputTensorInfos, WorkloadInfo::m_OutputTensorInfos, armnn::numeric_cast(), armnn::QAsymmS8, armnn::QAsymmU8, and armnn::QSymmS16.

+
2315 {
2316  const std::string descriptorName{"MeanQueueDescriptor"};
2317 
2318  ValidateNumInputs(workloadInfo, descriptorName, 1);
2319  ValidateNumOutputs(workloadInfo, descriptorName, 1);
2320 
2321  const TensorInfo& inputTensorInfo = workloadInfo.m_InputTensorInfos[0];
2322  const TensorInfo& outputTensorInfo = workloadInfo.m_OutputTensorInfos[0];
2323 
2324  std::vector<DataType> supportedTypes =
2325  {
2332  };
2333 
2334  // First check if input tensor data type is supported, then
2335  // check if this data type matches the output tensor data type
2336  ValidateDataTypes(inputTensorInfo, supportedTypes, descriptorName);
2337  ValidateTensorDataTypesMatch(inputTensorInfo, outputTensorInfo, descriptorName, "input", "output");
2338 
2340  {
2341  ValidateTensorNumDimensions(outputTensorInfo, descriptorName, inputTensorInfo.GetNumDimensions(), "output");
2342  }
2343  else if (m_Parameters.m_Axis.empty())
2344  {
2345  ValidateTensorNumDimensions(outputTensorInfo, descriptorName, 1, "output");
2346  }
2347  else
2348  {
2349  unsigned int outputDim =
2350  inputTensorInfo.GetNumDimensions() - armnn::numeric_cast<unsigned int>(m_Parameters.m_Axis.size());
2351  ValidateTensorNumDimensions(outputTensorInfo,
2352  descriptorName,
2353  outputDim > 0 ? outputDim : 1,
2354  "output");
2355  }
2356 }
+ + + +
std::vector< unsigned int > m_Axis
Values for the dimensions to reduce.
+
std::vector< TensorInfo > m_InputTensorInfos
+
bool m_KeepDims
Enable/disable keep dimensions. If true, then the reduced dimensions that are of length 1 are kept...
+ + +
std::vector< TensorInfo > m_OutputTensorInfos
+ +
std::enable_if_t< std::is_unsigned< Source >::value &&std::is_unsigned< Dest >::value, Dest > numeric_cast(Source source)
Definition: NumericCast.hpp:35
+ +
unsigned int GetNumDimensions() const
Definition: Tensor.hpp:191
+
+
+
+
The documentation for this struct was generated from the following files: +
+
+ + + + -- cgit v1.2.1