From 1dc83febfb76d6a770bdf3ba16c4034a970c2320 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Thu, 16 May 2024 09:47:51 +0100 Subject: IVGCVSW-8260 Update Doxgen Docu for 24.05 Signed-off-by: Nikhil Raj Change-Id: If4bc983bf2793a27ded8e26ac2b29523fc1e4711 --- .../classarmnn_1_1_convert_fp16_to_fp32_layer.html | 47 ++++++++++++---------- 1 file changed, 26 insertions(+), 21 deletions(-) (limited to 'latest/classarmnn_1_1_convert_fp16_to_fp32_layer.html') diff --git a/latest/classarmnn_1_1_convert_fp16_to_fp32_layer.html b/latest/classarmnn_1_1_convert_fp16_to_fp32_layer.html index 4e0f9c04b2..ef244129b1 100644 --- a/latest/classarmnn_1_1_convert_fp16_to_fp32_layer.html +++ b/latest/classarmnn_1_1_convert_fp16_to_fp32_layer.html @@ -36,7 +36,7 @@ ArmNN
-  24.02 +  24.05
@@ -454,7 +454,7 @@ Additional Inherited Members
27  return factory.CreateWorkload(LayerType::ConvertFp16ToFp32, descriptor, PrepInfoAndDesc(descriptor));
28 }
-

References armnn::ConvertFp16ToFp32, IWorkloadFactory::CreateWorkload(), Layer::PrepInfoAndDesc(), and Layer::SetAdditionalInfo().

+

References armnn::ConvertFp16ToFp32, IWorkloadFactory::CreateWorkload(), Layer::PrepInfoAndDesc(), and Layer::SetAdditionalInfo().

@@ -486,10 +486,10 @@ Additional Inherited Members

Reimplemented from Layer.

-

Definition at line 50 of file ConvertFp16ToFp32Layer.cpp.

-
51 {
-
52  strategy.ExecuteStrategy(this, GetParameters(), {}, GetName());
-
53 }
+

Definition at line 55 of file ConvertFp16ToFp32Layer.cpp.

+
56 {
+
57  strategy.ExecuteStrategy(this, GetParameters(), {}, GetName());
+
58 }

References IStrategy::ExecuteStrategy(), Layer::GetName(), and Layer::GetParameters().

@@ -538,12 +538,17 @@ Additional Inherited Members
42 
43  auto inferredShapes = InferOutputShapes({ GetInputSlot(0).GetTensorInfo().GetShape() });
44 
-
45  ARMNN_ASSERT(inferredShapes.size() == 1);
-
46 
-
47  ValidateAndCopyShape(outputShape, inferredShapes[0], m_ShapeInferenceMethod, "ConvertFp16ToFp32Layer");
-
48 }
+
45  if (inferredShapes.size() != 1)
+
46  {
+
47  throw armnn::LayerValidationException("inferredShapes has "
+
48  + std::to_string(inferredShapes.size()) +
+
49  " elements - should only have 1.");
+
50  }
+
51 
+
52  ValidateAndCopyShape(outputShape, inferredShapes[0], m_ShapeInferenceMethod, "ConvertFp16ToFp32Layer");
+
53 }
-

References ARMNN_ASSERT, CHECK_LOCATION, Layer::GetInputSlot(), Layer::GetOutputSlot(), TensorInfo::GetShape(), InputSlot::GetTensorInfo(), OutputSlot::GetTensorInfo(), Layer::InferOutputShapes(), Layer::m_ShapeInferenceMethod, Layer::ValidateAndCopyShape(), Layer::VerifyLayerConnections(), and Layer::VerifyShapeInferenceType().

+

References CHECK_LOCATION, Layer::GetInputSlot(), Layer::GetOutputSlot(), TensorInfo::GetShape(), InputSlot::GetTensorInfo(), OutputSlot::GetTensorInfo(), Layer::InferOutputShapes(), Layer::m_ShapeInferenceMethod, Layer::ValidateAndCopyShape(), Layer::VerifyLayerConnections(), and Layer::VerifyShapeInferenceType().

@@ -553,29 +558,29 @@ Additional Inherited Members -
#define ARMNN_ASSERT(COND)
Definition: Assert.hpp:14
-
const TensorInfo & GetTensorInfo() const override
Definition: Layer.cpp:92
+
const TensorInfo & GetTensorInfo() const override
Definition: Layer.cpp:100
#define CHECK_LOCATION()
Definition: Exceptions.hpp:203
-
void ValidateAndCopyShape(const TensorShape &outputShape, const TensorShape &inferredShape, const ShapeInferenceMethod shapeInferenceMethod, const std::string &layerName, const unsigned int outputSlotIndex=0)
Definition: Layer.cpp:435
+
void ValidateAndCopyShape(const TensorShape &outputShape, const TensorShape &inferredShape, const ShapeInferenceMethod shapeInferenceMethod, const std::string &layerName, const unsigned int outputSlotIndex=0)
Definition: Layer.cpp:457
const OutputSlot & GetOutputSlot(unsigned int index=0) const override
Get the const output slot handle by slot index.
Definition: Layer.hpp:339
const InputSlot & GetInputSlot(unsigned int index) const override
Get a const input slot handle by slot index.
Definition: Layer.hpp:337
-
Layer(unsigned int numInputSlots, unsigned int numOutputSlots, LayerType type, const char *name)
Definition: Layer.cpp:247
+
Layer(unsigned int numInputSlots, unsigned int numOutputSlots, LayerType type, const char *name)
Definition: Layer.cpp:260
const char * GetName() const override
Returns the name of the layer.
Definition: Layer.hpp:332
-
const TensorInfo & GetTensorInfo() const override
Gets the TensorInfo for this InputSlot.
Definition: Layer.cpp:592
+
const TensorInfo & GetTensorInfo() const override
Gets the TensorInfo for this InputSlot.
Definition: Layer.cpp:614
WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const
Helper function to reduce duplication in *Layer::CreateWorkload.
Definition: Layer.hpp:409
-
void VerifyShapeInferenceType(const TensorShape &outputShape, ShapeInferenceMethod shapeInferenceMethod)
Definition: Layer.cpp:504
-
void SetAdditionalInfo(QueueDescriptor &descriptor) const
Definition: Layer.cpp:287
+ +
void VerifyShapeInferenceType(const TensorShape &outputShape, ShapeInferenceMethod shapeInferenceMethod)
Definition: Layer.cpp:526
+
void SetAdditionalInfo(QueueDescriptor &descriptor) const
Definition: Layer.cpp:303
virtual const BaseDescriptor & GetParameters() const override
If the layer has a descriptor return it.
Definition: Layer.hpp:378
const TensorShape & GetShape() const
Definition: Tensor.hpp:193
-
std::vector< TensorShape > InferOutputShapes(const std::vector< TensorShape > &inputShapes) const override
Infer the shape of the output(s) based on the provided input shape(s)
Definition: Layer.cpp:410
-
void VerifyLayerConnections(unsigned int expectedConnections, const CheckLocation &location) const
Definition: Layer.cpp:391
+
std::vector< TensorShape > InferOutputShapes(const std::vector< TensorShape > &inputShapes) const override
Infer the shape of the output(s) based on the provided input shape(s)
Definition: Layer.cpp:432
+
void VerifyLayerConnections(unsigned int expectedConnections, const CheckLocation &location) const
Definition: Layer.cpp:410
ShapeInferenceMethod m_ShapeInferenceMethod
Definition: Layer.hpp:441