From add078b7f9a658d52ee6e8fe6771ea0517c07674 Mon Sep 17 00:00:00 2001 From: mathad01 Date: Mon, 10 May 2021 16:51:20 +0100 Subject: IVGCVSW-5908 Update 21.05 Doxygen Documents Signed-off-by: mathad01 Change-Id: I95316d4fc5f9d10185492dc835bb2411c1daea7b --- 21.05/classarmnn_1_1_boolean_decoder.xhtml | 320 +++++++++++++++++++++++++++++ 1 file changed, 320 insertions(+) create mode 100644 21.05/classarmnn_1_1_boolean_decoder.xhtml (limited to '21.05/classarmnn_1_1_boolean_decoder.xhtml') diff --git a/21.05/classarmnn_1_1_boolean_decoder.xhtml b/21.05/classarmnn_1_1_boolean_decoder.xhtml new file mode 100644 index 0000000000..53c8282c09 --- /dev/null +++ b/21.05/classarmnn_1_1_boolean_decoder.xhtml @@ -0,0 +1,320 @@ + + + + + + + + + + + + + +ArmNN: BooleanDecoder Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.05 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
BooleanDecoder Class Reference
+
+
+ +

#include <BaseIterator.hpp>

+
+Inheritance diagram for BooleanDecoder:
+
+
+ + +TypedIterator< const uint8_t, Decoder< float > > +Decoder< float > +BaseIterator + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 BooleanDecoder (const uint8_t *data)
 
 BooleanDecoder ()
 
float Get () const override
 
std::vector< float > DecodeTensor (const TensorShape &tensorShape, const unsigned int channelMultiplier, const bool isDepthwise) override
 
- Public Member Functions inherited from TypedIterator< const uint8_t, Decoder< float > >
 TypedIterator (const uint8_t *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
 
TypedIteratorSetIndex (unsigned int index, unsigned int axisIndex=0) override
 
- Public Member Functions inherited from Decoder< float >
 Decoder ()
 
virtual ~Decoder ()
 
- Public Member Functions inherited from BaseIterator
 BaseIterator ()
 
virtual ~BaseIterator ()
 
+ + + + + + +

+Additional Inherited Members

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

Detailed Description

+
+

Definition at line 485 of file BaseIterator.hpp.

+

Constructor & Destructor Documentation

+ +

◆ BooleanDecoder() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + +
BooleanDecoder (const uint8_t * data)
+
+inline
+
+ +

Definition at line 488 of file BaseIterator.hpp.

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

◆ BooleanDecoder() [2/2]

+ +
+
+ + + + + +
+ + + + + + + +
BooleanDecoder ()
+
+inline
+
+ +

Definition at line 491 of file BaseIterator.hpp.

+
492  : BooleanDecoder(nullptr) {}
+
+
+
+

Member Function Documentation

+ +

◆ DecodeTensor()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
std::vector<float> DecodeTensor (const TensorShapetensorShape,
const unsigned int channelMultiplier,
const bool isDepthwise 
)
+
+inlineoverridevirtual
+
+ +

Implements Decoder< float >.

+ +

Definition at line 498 of file BaseIterator.hpp.

+ +

References TensorShape::GetNumElements(), armnn::IgnoreUnused(), and BaseIterator::operator[]().

+
501  {
502  IgnoreUnused(channelMultiplier, isDepthwise);
503 
504  const unsigned int size = tensorShape.GetNumElements();
505  std::vector<float> decodedTensor;
506  decodedTensor.reserve(size);
507 
508  for (uint32_t i = 0; i < size; ++i)
509  {
510  this->operator[](i);
511  decodedTensor.emplace_back(*m_Iterator);
512  }
513 
514  return decodedTensor;
515  }
+
void IgnoreUnused(Ts &&...)
+
TypedIterator & operator[](const unsigned int index) override
+
+
+
+ +

◆ Get()

+ +
+
+ + + + + +
+ + + + + + + +
float Get () const
+
+inlineoverridevirtual
+
+ +

Implements Decoder< float >.

+ +

Definition at line 494 of file BaseIterator.hpp.

+
495  {
496  return *m_Iterator;
497  }
+
+
+
+
The documentation for this class was generated from the following file: +
+
+ + + + -- cgit v1.2.1