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_prelu_queue_descriptor.xhtml | 191 +++++++++++++++++++++ 1 file changed, 191 insertions(+) create mode 100644 20.02/structarmnn_1_1_prelu_queue_descriptor.xhtml (limited to '20.02/structarmnn_1_1_prelu_queue_descriptor.xhtml') diff --git a/20.02/structarmnn_1_1_prelu_queue_descriptor.xhtml b/20.02/structarmnn_1_1_prelu_queue_descriptor.xhtml new file mode 100644 index 0000000000..54d75519e9 --- /dev/null +++ b/20.02/structarmnn_1_1_prelu_queue_descriptor.xhtml @@ -0,0 +1,191 @@ + + + + + + + + + + + + + +ArmNN: PreluQueueDescriptor Struct Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
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 489 of file WorkloadData.hpp.

+

Member Function Documentation

+ +

◆ Validate()

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

Definition at line 2638 of file WorkloadData.cpp.

+ +

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

+
2639 {
2640  const std::string& descriptorName{"PreluQueueDescriptor"};
2641 
2642  ValidateNumInputs(workloadInfo, descriptorName, 2);
2643  ValidateNumOutputs(workloadInfo, descriptorName, 1);
2644 
2645  const TensorInfo& inputTensorInfo = workloadInfo.m_InputTensorInfos[0];
2646  const TensorInfo& alphaTensorInfo = workloadInfo.m_InputTensorInfos[1];
2647  const TensorInfo& outputTensorInfo = workloadInfo.m_OutputTensorInfos[0];
2648 
2649  std::vector<DataType> supportedTypes
2650  {
2656  };
2657 
2658  ValidateDataTypes(inputTensorInfo, supportedTypes, descriptorName);
2659  ValidateDataTypes(alphaTensorInfo, supportedTypes, descriptorName);
2660 
2661  ValidateDataTypes(outputTensorInfo, supportedTypes, descriptorName);
2662 
2663  ValidateTensorDataTypesMatch(inputTensorInfo, alphaTensorInfo, descriptorName, "input", "alpha");
2664  ValidateTensorDataTypesMatch(inputTensorInfo, outputTensorInfo, descriptorName, "input", "ouptut");
2665 
2666  ValidateBroadcastTensorShapesMatch(inputTensorInfo,
2667  alphaTensorInfo,
2668  outputTensorInfo,
2669  descriptorName,
2670  "input",
2671  "alpha");
2672 }
+ +
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