From f4019872c1134c6fcc1d6993e5746f55c1e79208 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Tue, 8 Mar 2022 20:01:38 +0000 Subject: IVGCVSW-6819 Fix the directory structure and broken link to latest docu Signed-off-by: Nikhil Raj Change-Id: I05b559d15faf92c76ff536719693b361316be4f3 --- 22.02/structarmnn_1_1_equal_queue_descriptor.xhtml | 194 +++++++++++++++++++++ 1 file changed, 194 insertions(+) create mode 100644 22.02/structarmnn_1_1_equal_queue_descriptor.xhtml (limited to '22.02/structarmnn_1_1_equal_queue_descriptor.xhtml') diff --git a/22.02/structarmnn_1_1_equal_queue_descriptor.xhtml b/22.02/structarmnn_1_1_equal_queue_descriptor.xhtml new file mode 100644 index 0000000000..a4664d9eac --- /dev/null +++ b/22.02/structarmnn_1_1_equal_queue_descriptor.xhtml @@ -0,0 +1,194 @@ + + + + + + + + + + + + + +ArmNN: EqualQueueDescriptor Struct Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  22.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
EqualQueueDescriptor Struct Reference
+
+
+ +

#include <WorkloadData.hpp>

+
+Inheritance diagram for EqualQueueDescriptor:
+
+
+ + +QueueDescriptor + +
+ + + + + + + + + + + + +

+Public Member Functions

void Validate (const WorkloadInfo &workloadInfo) const
 
- Public Member Functions inherited from QueueDescriptor
virtual ~QueueDescriptor ()=default
 
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
 
- Protected Member Functions inherited from QueueDescriptor
 QueueDescriptor ()
 
 QueueDescriptor (QueueDescriptor const &)=default
 
QueueDescriptoroperator= (QueueDescriptor const &)=default
 
+

Detailed Description

+
+

Definition at line 315 of file WorkloadData.hpp.

+

Member Function Documentation

+ +

◆ Validate()

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

Definition at line 2647 of file WorkloadData.cpp.

+ +

References armnn::Boolean, TensorInfo::GetDataType(), WorkloadInfo::m_InputTensorInfos, and WorkloadInfo::m_OutputTensorInfos.

+
2648 {
2649  const std::string descriptorName{"EqualQueueDescriptor"};
2650 
2651  ValidateNumInputs(workloadInfo, descriptorName, 2);
2652  ValidateNumOutputs(workloadInfo, descriptorName, 1);
2653 
2654  const TensorInfo& inputTensorInfo0 = workloadInfo.m_InputTensorInfos[0];
2655  const TensorInfo& inputTensorInfo1 = workloadInfo.m_InputTensorInfos[1];
2656  const TensorInfo& outputTensorInfo = workloadInfo.m_OutputTensorInfos[0];
2657 
2658  ValidateBroadcastTensorShapesMatch(inputTensorInfo0,
2659  inputTensorInfo1,
2660  outputTensorInfo,
2661  descriptorName,
2662  "input_0",
2663  "input_1");
2664 
2665  if (outputTensorInfo.GetDataType() != DataType::Boolean)
2666  {
2667  throw InvalidArgumentException(descriptorName + ": Output tensor type must be Boolean.");
2668  }
2669 }
+ +
std::vector< TensorInfo > m_InputTensorInfos
+
DataType GetDataType() const
Definition: Tensor.hpp:198
+
std::vector< TensorInfo > m_OutputTensorInfos
+ +
+
+
+
The documentation for this struct was generated from the following files: +
+
+ + + + -- cgit v1.2.1