24.02
|
PerAxisIterator for per-axis quantization. More...
#include <BaseIterator.hpp>
Public Member Functions | |
PerAxisIterator (T *data=nullptr, unsigned int axisFactor=0, unsigned int axisDimensionality=0) | |
PerAxisIterator (T *data=nullptr, const armnn::TensorShape &tensorShape=TensorShape(), const unsigned int axis=0) | |
void | Reset (void *data) override |
PerAxisIterator & | operator++ () override |
PerAxisIterator & | operator+= (const unsigned int increment) override |
PerAxisIterator & | operator-= (const unsigned int decrement) override |
PerAxisIterator & | SetIndexOnMem (const unsigned int index) |
PerAxisIterator & | operator[] (const unsigned int index) override |
Protected Attributes | |
T * | m_Iterator |
T * | m_Start |
unsigned int | m_AxisIndex |
unsigned int | m_AxisDimensionality |
unsigned int | m_AxisFactor |
unsigned int | m_Index |
PerAxisIterator for per-axis quantization.
Iterates over a tensor as layed out in memory and keeps track of the axis index.
Definition at line 708 of file BaseIterator.hpp.
|
inline |
Definition at line 711 of file BaseIterator.hpp.
|
inline |
Definition at line 722 of file BaseIterator.hpp.
|
inlineoverride |
Definition at line 742 of file BaseIterator.hpp.
|
inlineoverride |
Definition at line 749 of file BaseIterator.hpp.
|
inlineoverride |
Definition at line 756 of file BaseIterator.hpp.
|
inlineoverride |
Definition at line 780 of file BaseIterator.hpp.
Referenced by PerAxisIterator< const int8_t, Decoder< float > >::operator++(), PerAxisIterator< const int8_t, Decoder< float > >::operator+=(), and PerAxisIterator< const int8_t, Decoder< float > >::operator-=().
|
inlineoverride |
Definition at line 734 of file BaseIterator.hpp.
|
inline |
Definition at line 764 of file BaseIterator.hpp.
Referenced by PerAxisIterator< const int8_t, Decoder< float > >::operator[]().
|
protected |
Definition at line 790 of file BaseIterator.hpp.
Referenced by PerAxisIterator< const int8_t, Decoder< float > >::PerAxisIterator(), and PerAxisIterator< const int8_t, Decoder< float > >::SetIndexOnMem().
|
protected |
Definition at line 791 of file BaseIterator.hpp.
Referenced by PerAxisIterator< const int8_t, Decoder< float > >::PerAxisIterator(), and PerAxisIterator< const int8_t, Decoder< float > >::SetIndexOnMem().
|
protected |
Definition at line 789 of file BaseIterator.hpp.
Referenced by PerAxisIterator< const int8_t, Decoder< float > >::Reset(), and PerAxisIterator< const int8_t, Decoder< float > >::SetIndexOnMem().
|
protected |
Definition at line 792 of file BaseIterator.hpp.
Referenced by PerAxisIterator< const int8_t, Decoder< float > >::operator++(), PerAxisIterator< const int8_t, Decoder< float > >::operator+=(), PerAxisIterator< const int8_t, Decoder< float > >::operator-=(), PerAxisIterator< const int8_t, Decoder< float > >::Reset(), and PerAxisIterator< const int8_t, Decoder< float > >::SetIndexOnMem().
|
protected |
Definition at line 787 of file BaseIterator.hpp.
Referenced by PerAxisIterator< const int8_t, Decoder< float > >::Reset(), and PerAxisIterator< const int8_t, Decoder< float > >::SetIndexOnMem().
|
protected |
Definition at line 788 of file BaseIterator.hpp.
Referenced by PerAxisIterator< const int8_t, Decoder< float > >::Reset(), and PerAxisIterator< const int8_t, Decoder< float > >::SetIndexOnMem().