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 --- .../structarmnn_1_1_switch_queue_descriptor.xhtml | 190 +++++++++++++++++++++ 1 file changed, 190 insertions(+) create mode 100644 20.02/structarmnn_1_1_switch_queue_descriptor.xhtml (limited to '20.02/structarmnn_1_1_switch_queue_descriptor.xhtml') diff --git a/20.02/structarmnn_1_1_switch_queue_descriptor.xhtml b/20.02/structarmnn_1_1_switch_queue_descriptor.xhtml new file mode 100644 index 0000000000..3258efce45 --- /dev/null +++ b/20.02/structarmnn_1_1_switch_queue_descriptor.xhtml @@ -0,0 +1,190 @@ + + + + + + + + + + + + + +ArmNN: SwitchQueueDescriptor Struct Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
SwitchQueueDescriptor Struct Reference
+
+
+ +

#include <WorkloadData.hpp>

+
+Inheritance diagram for SwitchQueueDescriptor:
+
+
+ + +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 484 of file WorkloadData.hpp.

+

Member Function Documentation

+ +

◆ Validate()

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

Definition at line 2593 of file WorkloadData.cpp.

+ +

References armnn::BFloat16, armnn::Float32, WorkloadInfo::m_InputTensorInfos, WorkloadInfo::m_OutputTensorInfos, armnn::QAsymmU8, and armnn::QSymmS16.

+
2594 {
2595  const std::string& descriptorName{"SwitchQueueDescriptor"};
2596 
2597  ValidateNumInputs(workloadInfo, descriptorName, 2);
2598  ValidateNumOutputs(workloadInfo, descriptorName, 2);
2599 
2600  const TensorInfo& inputTensorInfo0 = workloadInfo.m_InputTensorInfos[0];
2601  const TensorInfo& inputTensorInfo1 = workloadInfo.m_InputTensorInfos[1];
2602 
2603  const TensorInfo& outputTensorInfo0 = workloadInfo.m_OutputTensorInfos[0];
2604  const TensorInfo& outputTensorInfo1 = workloadInfo.m_OutputTensorInfos[1];
2605 
2606  std::vector<DataType> supportedTypes =
2607  {
2612  };
2613 
2614  ValidateDataTypes(inputTensorInfo0, supportedTypes, descriptorName);
2615  ValidateDataTypes(inputTensorInfo1, supportedTypes, descriptorName);
2616 
2617  ValidateDataTypes(outputTensorInfo0, supportedTypes, descriptorName);
2618  ValidateDataTypes(outputTensorInfo1, supportedTypes, descriptorName);
2619 
2620  ValidateTensorShapesMatch(inputTensorInfo0,
2621  outputTensorInfo0,
2622  descriptorName,
2623  "input_0",
2624  "output_0");
2625 
2626  ValidateTensorShapesMatch(inputTensorInfo0,
2627  outputTensorInfo1,
2628  descriptorName,
2629  "input_0",
2630  "output_1");
2631 }
+ +
std::vector< TensorInfo > m_InputTensorInfos
+ +
std::vector< TensorInfo > m_OutputTensorInfos
+ + +
+
+
+
The documentation for this struct was generated from the following files: +
+
+ + + + -- cgit v1.2.1