From 6f92c8e9f8bb38dcf5dccf8deeff5112ecd8e37c Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Wed, 22 Nov 2023 11:41:15 +0000 Subject: Update Doxygen for 23.11 Signed-off-by: Nikhil Raj Change-Id: I47cd933f5002cb94a73aa97689d7b3d9c93cb849 --- 23.11/classarmnn_1_1_float32_decoder.html | 325 ++++++++++++++++++++++++++++++ 1 file changed, 325 insertions(+) create mode 100644 23.11/classarmnn_1_1_float32_decoder.html (limited to '23.11/classarmnn_1_1_float32_decoder.html') diff --git a/23.11/classarmnn_1_1_float32_decoder.html b/23.11/classarmnn_1_1_float32_decoder.html new file mode 100644 index 0000000000..a1a56ca768 --- /dev/null +++ b/23.11/classarmnn_1_1_float32_decoder.html @@ -0,0 +1,325 @@ + + + + + + + + +Arm NN: Float32Decoder Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  23.11 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Float32Decoder Class Reference
+
+
+ +

#include <BaseIterator.hpp>

+
+Inheritance diagram for Float32Decoder:
+
+
+
+
[legend]
+
+Collaboration diagram for Float32Decoder:
+
+
+
+
[legend]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Float32Decoder (const float *data)
 
 Float32Decoder ()
 
float Get () const override
 
std::vector< float > DecodeTensor (const TensorShape &tensorShape, const bool) override
 
- Public Member Functions inherited from TypedIterator< const float, Decoder< float > >
 TypedIterator (const float *data=nullptr)
 
void Reset (void *data) override
 
TypedIteratoroperator++ () override
 
TypedIteratoroperator+= (const unsigned int increment) override
 
TypedIteratoroperator-= (const unsigned int increment) override
 
TypedIteratoroperator[] (const unsigned int index) override
 
- Public Member Functions inherited from Decoder< float >
 Decoder ()
 
virtual ~Decoder ()
 
virtual float Get () const=0
 
- Public Member Functions inherited from BaseIterator
 BaseIterator ()
 
virtual ~BaseIterator ()
 
+ + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from TypedIterator< const float, Decoder< float > >
const float * m_Iterator
 
const float * m_Start
 
+

Detailed Description

+
+

Definition at line 283 of file BaseIterator.hpp.

+

Constructor & Destructor Documentation

+ +

◆ Float32Decoder() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
Float32Decoder (const float * data)
+
+inline
+
+ +

Definition at line 286 of file BaseIterator.hpp.

+
287  : TypedIterator(data) {}
+
+
+
+ +

◆ Float32Decoder() [2/2]

+ +
+
+ + + + + +
+ + + + + + + +
Float32Decoder ()
+
+inline
+
+ +

Definition at line 289 of file BaseIterator.hpp.

+
290  : Float32Decoder(nullptr) {}
+
+
+
+

Member Function Documentation

+ +

◆ DecodeTensor()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
std::vector<float> DecodeTensor (const TensorShapetensorShape,
const bool  
)
+
+inlineoverridevirtual
+
+ +

Implements Decoder< float >.

+ +

Definition at line 296 of file BaseIterator.hpp.

+
297  {
+
298  const unsigned int size = tensorShape.GetNumElements();
+
299  std::vector<float> decodedTensor;
+
300 
+
301  decodedTensor.reserve(size);
+
302  decodedTensor.assign(m_Start, m_Start + size);
+
303 
+
304  return decodedTensor;
+
305  }
+
+

References TensorShape::GetNumElements(), and TypedIterator< const float, Decoder< float > >::m_Start.

+ +
+
+ +

◆ Get()

+ +
+
+ + + + + +
+ + + + + + + +
float Get () const
+
+inlineoverride
+
+ +

Definition at line 292 of file BaseIterator.hpp.

+
293  {
+
294  return *m_Iterator;
+
295  }
+
+

References TypedIterator< const float, Decoder< float > >::m_Iterator.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + + + + + -- cgit v1.2.1