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_fp32_to_bf16_queue_descriptor.xhtml | 195 +++++++++++++++++++++ 1 file changed, 195 insertions(+) create mode 100644 21.08/structarmnn_1_1_convert_fp32_to_bf16_queue_descriptor.xhtml (limited to '21.08/structarmnn_1_1_convert_fp32_to_bf16_queue_descriptor.xhtml') diff --git a/21.08/structarmnn_1_1_convert_fp32_to_bf16_queue_descriptor.xhtml b/21.08/structarmnn_1_1_convert_fp32_to_bf16_queue_descriptor.xhtml new file mode 100644 index 0000000000..4552c679fd --- /dev/null +++ b/21.08/structarmnn_1_1_convert_fp32_to_bf16_queue_descriptor.xhtml @@ -0,0 +1,195 @@ + + + + + + + + + + + + + +ArmNN: ConvertFp32ToBf16QueueDescriptor Struct Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.08 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
ConvertFp32ToBf16QueueDescriptor Struct Reference
+
+
+ +

#include <WorkloadData.hpp>

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

+

Member Function Documentation

+ +

◆ Validate()

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

Definition at line 2174 of file WorkloadData.cpp.

+ +

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

+
2175 {
2176  const std::string descriptorName{"ConvertFp32ToBf16QueueDescriptor"};
2177 
2178  ValidateNumInputs(workloadInfo, descriptorName, 1);
2179  ValidateNumOutputs(workloadInfo, descriptorName, 1);
2180 
2181  const TensorInfo& inputTensorInfo = workloadInfo.m_InputTensorInfos[0];
2182  const TensorInfo& outputTensorInfo = workloadInfo.m_OutputTensorInfos[0];
2183 
2184  if (inputTensorInfo.GetDataType() != DataType::Float32)
2185  {
2186  throw InvalidArgumentException(descriptorName + ": Input tensor type must be Float32.");
2187  }
2188 
2189  if (outputTensorInfo.GetDataType() != DataType::BFloat16)
2190  {
2191  throw InvalidArgumentException(descriptorName + ": Output tensor type must be BFloat16.");
2192  }
2193 
2194  ValidateTensorShapesMatch(inputTensorInfo, outputTensorInfo, descriptorName, "input", "output");
2195 }
+
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