From 0e2bab81442ee6cc2b94e4f7881ed0c5c6af65e7 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Thu, 19 Mar 2020 17:03:14 +0000 Subject: Creating gh-pages documentation for ArmNN Signed-off-by: Jim Flynn --- ...structarmnn_1_1_constant_queue_descriptor.xhtml | 252 +++++++++++++++++++++ 1 file changed, 252 insertions(+) create mode 100644 Documentation/structarmnn_1_1_constant_queue_descriptor.xhtml (limited to 'Documentation/structarmnn_1_1_constant_queue_descriptor.xhtml') diff --git a/Documentation/structarmnn_1_1_constant_queue_descriptor.xhtml b/Documentation/structarmnn_1_1_constant_queue_descriptor.xhtml new file mode 100644 index 0000000000..62690882cc --- /dev/null +++ b/Documentation/structarmnn_1_1_constant_queue_descriptor.xhtml @@ -0,0 +1,252 @@ + + + + + + + + + + + + + +ArmNN: ConstantQueueDescriptor Struct Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ConstantQueueDescriptor Struct Reference
+
+
+ +

#include <WorkloadData.hpp>

+
+Inheritance diagram for ConstantQueueDescriptor:
+
+
+ + +QueueDescriptor + +
+ + + + + + + + + +

+Public Member Functions

 ConstantQueueDescriptor ()
 
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
 
+ + + + + + + + +

+Public Attributes

const ConstCpuTensorHandlem_LayerOutput
 
- Public Attributes inherited from QueueDescriptor
std::vector< ITensorHandle * > m_Inputs
 
std::vector< ITensorHandle * > m_Outputs
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from QueueDescriptor
 ~QueueDescriptor ()=default
 
 QueueDescriptor ()=default
 
 QueueDescriptor (QueueDescriptor const &)=default
 
QueueDescriptoroperator= (QueueDescriptor const &)=default
 
+

Detailed Description

+
+

Definition at line 326 of file WorkloadData.hpp.

+

Constructor & Destructor Documentation

+ +

◆ ConstantQueueDescriptor()

+ +
+
+ + + + + +
+ + + + + + + +
ConstantQueueDescriptor ()
+
+inline
+
+ +

Definition at line 328 of file WorkloadData.hpp.

+
329  : m_LayerOutput(nullptr)
330  {
331  }
const ConstCpuTensorHandle * m_LayerOutput
+
+
+
+

Member Function Documentation

+ +

◆ Validate()

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

Definition at line 1544 of file WorkloadData.cpp.

+ +

References armnn::BFloat16, armnn::Float16, armnn::Float32, WorkloadInfo::m_OutputTensorInfos, armnn::QAsymmS8, armnn::QAsymmU8, armnn::QSymmS16, armnn::QSymmS8, and armnn::Signed32.

+
1545 {
1546  const std::string descriptorName{"ConstantQueueDescriptor"};
1547 
1548  ValidateNumInputs(workloadInfo, descriptorName, 0);
1549  ValidateNumOutputs(workloadInfo, descriptorName, 1);
1550 
1551  if (!m_LayerOutput)
1552  {
1553  throw InvalidArgumentException(descriptorName + ": No const input specified.");
1554  }
1555 
1556  const TensorInfo& outputTensorInfo = workloadInfo.m_OutputTensorInfos[0];
1557  ValidateTensorShapesMatch(m_LayerOutput->GetTensorInfo(), outputTensorInfo, descriptorName, "constant", "output");
1558 
1559  // Check the supported data types
1560  std::vector<DataType> supportedTypes =
1561  {
1570  };
1571 
1572  ValidateDataTypes(outputTensorInfo, supportedTypes, descriptorName);
1573 }
+ +
const ConstCpuTensorHandle * m_LayerOutput
+ + + + +
std::vector< TensorInfo > m_OutputTensorInfos
+ + + + +
const TensorInfo & GetTensorInfo() const
+
+
+
+

Member Data Documentation

+ +

◆ m_LayerOutput

+ + +
The documentation for this struct was generated from the following files: +
+
+ + + + -- cgit v1.2.1