From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- 20.02/structarmnn_1_1_equal_queue_descriptor.xhtml | 189 +++++++++++++++++++++ 1 file changed, 189 insertions(+) create mode 100644 20.02/structarmnn_1_1_equal_queue_descriptor.xhtml (limited to '20.02/structarmnn_1_1_equal_queue_descriptor.xhtml') diff --git a/20.02/structarmnn_1_1_equal_queue_descriptor.xhtml b/20.02/structarmnn_1_1_equal_queue_descriptor.xhtml new file mode 100644 index 0000000000..b53532a016 --- /dev/null +++ b/20.02/structarmnn_1_1_equal_queue_descriptor.xhtml @@ -0,0 +1,189 @@ + + + + + + + + + + + + + +ArmNN: EqualQueueDescriptor Struct Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.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
void ValidateInputsOutputs (const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
 
+ + + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Attributes inherited from QueueDescriptor
std::vector< ITensorHandle * > m_Inputs
 
std::vector< ITensorHandle * > m_Outputs
 
- Protected Member Functions inherited from QueueDescriptor
 ~QueueDescriptor ()=default
 
 QueueDescriptor ()=default
 
 QueueDescriptor (QueueDescriptor const &)=default
 
QueueDescriptoroperator= (QueueDescriptor const &)=default
 
+

Detailed Description

+
+

Definition at line 263 of file WorkloadData.hpp.

+

Member Function Documentation

+ +

◆ Validate()

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

Definition at line 2377 of file WorkloadData.cpp.

+ +

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

+
2378 {
2379  const std::string descriptorName{"EqualQueueDescriptor"};
2380 
2381  ValidateNumInputs(workloadInfo, descriptorName, 2);
2382  ValidateNumOutputs(workloadInfo, descriptorName, 1);
2383 
2384  const TensorInfo& inputTensorInfo0 = workloadInfo.m_InputTensorInfos[0];
2385  const TensorInfo& inputTensorInfo1 = workloadInfo.m_InputTensorInfos[1];
2386  const TensorInfo& outputTensorInfo = workloadInfo.m_OutputTensorInfos[0];
2387 
2388  ValidateBroadcastTensorShapesMatch(inputTensorInfo0,
2389  inputTensorInfo1,
2390  outputTensorInfo,
2391  descriptorName,
2392  "input_0",
2393  "input_1");
2394 
2395  if (outputTensorInfo.GetDataType() != DataType::Boolean)
2396  {
2397  throw InvalidArgumentException(descriptorName + ": Output tensor type must be Boolean.");
2398  }
2399 }
+ +
std::vector< TensorInfo > m_InputTensorInfos
+
DataType GetDataType() const
Definition: Tensor.hpp:95
+
std::vector< TensorInfo > m_OutputTensorInfos
+ +
+
+
+
The documentation for this struct was generated from the following files: +
+
+ + + + -- cgit v1.2.1