From f86be93b7492b381370cae7bf71eca8572a0cbae Mon Sep 17 00:00:00 2001 From: Matthew Sloyan Date: Tue, 24 Aug 2021 16:27:15 +0100 Subject: IVGCVSW-5924 Update 21.08 Doxygen Documents * Also updated latest symlink. Signed-off-by: Matthew Sloyan Change-Id: If9b4e0e52464abdf797b9eb858ae19bcc64c2aea --- ...1_1_convert_bf16_to_fp32_queue_descriptor.xhtml | 195 +++++++++++++++++++++ 1 file changed, 195 insertions(+) create mode 100644 21.08/structarmnn_1_1_convert_bf16_to_fp32_queue_descriptor.xhtml (limited to '21.08/structarmnn_1_1_convert_bf16_to_fp32_queue_descriptor.xhtml') diff --git a/21.08/structarmnn_1_1_convert_bf16_to_fp32_queue_descriptor.xhtml b/21.08/structarmnn_1_1_convert_bf16_to_fp32_queue_descriptor.xhtml new file mode 100644 index 0000000000..200595136c --- /dev/null +++ b/21.08/structarmnn_1_1_convert_bf16_to_fp32_queue_descriptor.xhtml @@ -0,0 +1,195 @@ + + + + + + + + + + + + + +ArmNN: ConvertBf16ToFp32QueueDescriptor Struct Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.08 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ConvertBf16ToFp32QueueDescriptor Struct Reference
+
+
+ +

#include <WorkloadData.hpp>

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

+

Member Function Documentation

+ +

◆ Validate()

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

Definition at line 2151 of file WorkloadData.cpp.

+ +

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

+
2152 {
2153  const std::string descriptorName{"ConvertBf16ToFp32QueueDescriptor"};
2154 
2155  ValidateNumInputs(workloadInfo, descriptorName, 1);
2156  ValidateNumOutputs(workloadInfo, descriptorName, 1);
2157 
2158  const TensorInfo& inputTensorInfo = workloadInfo.m_InputTensorInfos[0];
2159  const TensorInfo& outputTensorInfo = workloadInfo.m_OutputTensorInfos[0];
2160 
2161  if (inputTensorInfo.GetDataType() != DataType::BFloat16)
2162  {
2163  throw InvalidArgumentException(descriptorName + ": Input tensor type must be BFloat16.");
2164  }
2165 
2166  if (outputTensorInfo.GetDataType() != DataType::Float32)
2167  {
2168  throw InvalidArgumentException(descriptorName + ": Output tensor type must be Float32.");
2169  }
2170 
2171  ValidateTensorShapesMatch(inputTensorInfo, outputTensorInfo, descriptorName, "input", "output");
2172 }
+
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