From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- .../classarmnn_1_1_q_symm8_per_axis_encoder.xhtml | 325 +++++++++++++++++++++ 1 file changed, 325 insertions(+) create mode 100644 20.02/classarmnn_1_1_q_symm8_per_axis_encoder.xhtml (limited to '20.02/classarmnn_1_1_q_symm8_per_axis_encoder.xhtml') diff --git a/20.02/classarmnn_1_1_q_symm8_per_axis_encoder.xhtml b/20.02/classarmnn_1_1_q_symm8_per_axis_encoder.xhtml new file mode 100644 index 0000000000..e45c9b7ee3 --- /dev/null +++ b/20.02/classarmnn_1_1_q_symm8_per_axis_encoder.xhtml @@ -0,0 +1,325 @@ + + + + + + + + + + + + + +ArmNN: QSymm8PerAxisEncoder Class Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
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 564 of file BaseIterator.hpp.

+

Constructor & Destructor Documentation

+ +

◆ QSymm8PerAxisEncoder()

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

Definition at line 567 of file BaseIterator.hpp.

+
568  : 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 575 of file BaseIterator.hpp.

+ +

References armnn::Dequantize.

+ +
+
+ +

◆ GetScale()

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

Definition at line 581 of file BaseIterator.hpp.

+
582  {
583  return m_Scale[m_AxisIndex];
584  }
+
+
+
+ +

◆ Set()

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

Implements Encoder< float >.

+ +

Definition at line 570 of file BaseIterator.hpp.

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