From a983e4699082a0b1ef685bab7354f2ad9cd37a44 Mon Sep 17 00:00:00 2001 From: Colm Donelan Date: Wed, 20 May 2020 16:12:19 +0100 Subject: Updating Doxygen documentation for 20.05 release. Change-Id: I4d624343ed5fd6ae269c3d53532903084508fd14 Signed-off-by: Colm Donelan --- .../classarmnn_1_1_q_symm8_per_axis_encoder.xhtml | 325 +++++++++++++++++++++ 1 file changed, 325 insertions(+) create mode 100644 20.05/classarmnn_1_1_q_symm8_per_axis_encoder.xhtml (limited to '20.05/classarmnn_1_1_q_symm8_per_axis_encoder.xhtml') diff --git a/20.05/classarmnn_1_1_q_symm8_per_axis_encoder.xhtml b/20.05/classarmnn_1_1_q_symm8_per_axis_encoder.xhtml new file mode 100644 index 0000000000..afcdf592a4 --- /dev/null +++ b/20.05/classarmnn_1_1_q_symm8_per_axis_encoder.xhtml @@ -0,0 +1,325 @@ + + + + + + + + + + + + + +ArmNN: QSymm8PerAxisEncoder Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.05 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
QSymm8PerAxisEncoder Class Reference
+
+
+ +

#include <BaseIterator.hpp>

+
+Inheritance diagram for QSymm8PerAxisEncoder:
+
+
+ + +PerAxisIterator< int8_t, Encoder< float > > +Encoder< float > +BaseIterator + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 QSymm8PerAxisEncoder (int8_t *data, const std::vector< float > &scale, unsigned int axisFactor)
 
void Set (float right)
 
float Get () const
 
float GetScale () const
 
- Public Member Functions inherited from PerAxisIterator< int8_t, Encoder< float > >
 PerAxisIterator (int8_t *data=nullptr, unsigned int axisFactor=0)
 
PerAxisIteratorSetIndex (unsigned int index, unsigned int axisIndex) override
 
void Reset (void *data) override
 
PerAxisIteratoroperator++ () override
 
PerAxisIteratoroperator+= (const unsigned int increment) override
 
PerAxisIteratoroperator-= (const unsigned int decrement) override
 
PerAxisIteratoroperator[] (const unsigned int index) override
 
- Public Member Functions inherited from Encoder< float >
 Encoder ()
 
virtual ~Encoder ()
 
- Public Member Functions inherited from BaseIterator
 BaseIterator ()
 
virtual ~BaseIterator ()
 
+ + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from PerAxisIterator< int8_t, Encoder< float > >
int8_t * m_Iterator
 
int8_t * m_Start
 
unsigned int m_AxisIndex
 
unsigned int m_AxisFactor
 
+

Detailed Description

+
+

Definition at line 579 of file BaseIterator.hpp.

+

Constructor & Destructor Documentation

+ +

◆ QSymm8PerAxisEncoder()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
QSymm8PerAxisEncoder (int8_t * data,
const std::vector< float > & scale,
unsigned int axisFactor 
)
+
+inline
+
+ +

Definition at line 582 of file BaseIterator.hpp.

+
583  : PerAxisIterator(data, axisFactor), m_Scale(scale) {}
PerAxisIterator(int8_t *data=nullptr, unsigned int axisFactor=0)
+
+
+
+

Member Function Documentation

+ +

◆ Get()

+ +
+
+ + + + + +
+ + + + + + + +
float Get () const
+
+inlinevirtual
+
+ +

Implements Encoder< float >.

+ +

Definition at line 590 of file BaseIterator.hpp.

+ +

References armnn::Dequantize.

+ +
+
+ +

◆ GetScale()

+ +
+
+ + + + + +
+ + + + + + + +
float GetScale () const
+
+inline
+
+ +

Definition at line 596 of file BaseIterator.hpp.

+
597  {
598  return m_Scale[m_AxisIndex];
599  }
+
+
+
+ +

◆ Set()

+ +
+
+ + + + + +
+ + + + + + + + +
void Set (float right)
+
+inlinevirtual
+
+ +

Implements Encoder< float >.

+ +

Definition at line 585 of file BaseIterator.hpp.

+
586  {
587  *m_Iterator = armnn::Quantize<int8_t>(right, m_Scale[m_AxisIndex], 0);
588  }
+ +
+
+
+
The documentation for this class was generated from the following file: +
+
+ + + + -- cgit v1.2.1