From 9aed8fb43441228343b925b42464a55042c47ca0 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Wed, 17 Nov 2021 13:16:45 +0000 Subject: IVGCVSW-6040 Update 21.11 Doxygen Documents Signed-off-by: Nikhil Raj Change-Id: Ia36ec98c4bebc27a69103911ea3409cd7db587a5 --- ...1_1_convert_fp16_to_fp32_queue_descriptor.xhtml | 195 +++++++++++++++++++++ 1 file changed, 195 insertions(+) create mode 100644 21.11/structarmnn_1_1_convert_fp16_to_fp32_queue_descriptor.xhtml (limited to '21.11/structarmnn_1_1_convert_fp16_to_fp32_queue_descriptor.xhtml') diff --git a/21.11/structarmnn_1_1_convert_fp16_to_fp32_queue_descriptor.xhtml b/21.11/structarmnn_1_1_convert_fp16_to_fp32_queue_descriptor.xhtml new file mode 100644 index 0000000000..76a6c2466b --- /dev/null +++ b/21.11/structarmnn_1_1_convert_fp16_to_fp32_queue_descriptor.xhtml @@ -0,0 +1,195 @@ + + + + + + + + + + + + + +ArmNN: ConvertFp16ToFp32QueueDescriptor Struct Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.11 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ConvertFp16ToFp32QueueDescriptor Struct Reference
+
+
+ +

#include <WorkloadData.hpp>

+
+Inheritance diagram for ConvertFp16ToFp32QueueDescriptor:
+
+
+ + +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
 
template<typename T >
const T * GetAdditionalInformation () const
 
+ + + + + + + + + + + + + + + + + +

+Additional Inherited Members

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

Detailed Description

+
+

Definition at line 477 of file WorkloadData.hpp.

+

Member Function Documentation

+ +

◆ Validate()

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

Definition at line 2276 of file WorkloadData.cpp.

+ +

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

+
2277 {
2278  const std::string descriptorName{"ConvertFp16ToFp32QueueDescriptor"};
2279 
2280  ValidateNumInputs(workloadInfo, descriptorName, 1);
2281  ValidateNumOutputs(workloadInfo, descriptorName, 1);
2282 
2283  const TensorInfo& inputTensorInfo = workloadInfo.m_InputTensorInfos[0];
2284  const TensorInfo& outputTensorInfo = workloadInfo.m_OutputTensorInfos[0];
2285 
2286  if (inputTensorInfo.GetDataType() != DataType::Float16)
2287  {
2288  throw InvalidArgumentException(descriptorName + ": Input tensor type must be Float16.");
2289  }
2290 
2291  if (outputTensorInfo.GetDataType() != DataType::Float32)
2292  {
2293  throw InvalidArgumentException(descriptorName + ": Output tensor type must be Float32.");
2294  }
2295 
2296  ValidateTensorShapesMatch(inputTensorInfo, outputTensorInfo, descriptorName, "input", "output");
2297 }
+
std::vector< TensorInfo > m_InputTensorInfos
+
DataType GetDataType() const
Definition: Tensor.hpp:198
+ +
std::vector< TensorInfo > m_OutputTensorInfos
+ + +
+
+
+
The documentation for this struct was generated from the following files: +
+
+ + + + -- cgit v1.2.1