From 4840dfb7543d66652dc11c5ff39c8f5c1e2f9370 Mon Sep 17 00:00:00 2001 From: Ryan OShea Date: Tue, 25 Aug 2020 12:35:58 +0100 Subject: Updating Doxygen Documentation for 20.08 release Signed-off-by: Ryan OShea Change-Id: I605409f8720de5353feceb161b39f8a5f0598180 --- 20.08/structarmnn_1_1_prelu_queue_descriptor.xhtml | 192 +++++++++++++++++++++ 1 file changed, 192 insertions(+) create mode 100644 20.08/structarmnn_1_1_prelu_queue_descriptor.xhtml (limited to '20.08/structarmnn_1_1_prelu_queue_descriptor.xhtml') diff --git a/20.08/structarmnn_1_1_prelu_queue_descriptor.xhtml b/20.08/structarmnn_1_1_prelu_queue_descriptor.xhtml new file mode 100644 index 0000000000..0f66dd359f --- /dev/null +++ b/20.08/structarmnn_1_1_prelu_queue_descriptor.xhtml @@ -0,0 +1,192 @@ + + + + + + + + + + + + + +ArmNN: PreluQueueDescriptor Struct Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.08 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
PreluQueueDescriptor Struct Reference
+
+
+ +

#include <WorkloadData.hpp>

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

+

Member Function Documentation

+ +

◆ Validate()

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

Definition at line 2757 of file WorkloadData.cpp.

+ +

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

+
2758 {
2759  const std::string& descriptorName{"PreluQueueDescriptor"};
2760 
2761  ValidateNumInputs(workloadInfo, descriptorName, 2);
2762  ValidateNumOutputs(workloadInfo, descriptorName, 1);
2763 
2764  const TensorInfo& inputTensorInfo = workloadInfo.m_InputTensorInfos[0];
2765  const TensorInfo& alphaTensorInfo = workloadInfo.m_InputTensorInfos[1];
2766  const TensorInfo& outputTensorInfo = workloadInfo.m_OutputTensorInfos[0];
2767 
2768  std::vector<DataType> supportedTypes
2769  {
2776  };
2777 
2778  ValidateDataTypes(inputTensorInfo, supportedTypes, descriptorName);
2779  ValidateDataTypes(alphaTensorInfo, supportedTypes, descriptorName);
2780 
2781  ValidateDataTypes(outputTensorInfo, supportedTypes, descriptorName);
2782 
2783  ValidateTensorDataTypesMatch(inputTensorInfo, alphaTensorInfo, descriptorName, "input", "alpha");
2784  ValidateTensorDataTypesMatch(inputTensorInfo, outputTensorInfo, descriptorName, "input", "ouptut");
2785 
2786  ValidateBroadcastTensorShapesMatch(inputTensorInfo,
2787  alphaTensorInfo,
2788  outputTensorInfo,
2789  descriptorName,
2790  "input",
2791  "alpha");
2792 }
+ + +
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