From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- 21.02/classarmnn_1_1_boolean_decoder.xhtml | 320 +++++++++++++++++++++++++++++ 1 file changed, 320 insertions(+) create mode 100644 21.02/classarmnn_1_1_boolean_decoder.xhtml (limited to '21.02/classarmnn_1_1_boolean_decoder.xhtml') diff --git a/21.02/classarmnn_1_1_boolean_decoder.xhtml b/21.02/classarmnn_1_1_boolean_decoder.xhtml new file mode 100644 index 0000000000..c7c5779fa0 --- /dev/null +++ b/21.02/classarmnn_1_1_boolean_decoder.xhtml @@ -0,0 +1,320 @@ + + + + + + + + + + + + + +ArmNN: BooleanDecoder Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
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