24.08
|
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 707 of file BaseIterator.hpp.
|
inline |
Definition at line 710 of file BaseIterator.hpp.
|
inline |
Definition at line 721 of file BaseIterator.hpp.
|
inlineoverride |
Definition at line 741 of file BaseIterator.hpp.
|
inlineoverride |
Definition at line 748 of file BaseIterator.hpp.
|
inlineoverride |
Definition at line 755 of file BaseIterator.hpp.
|
inlineoverride |
Definition at line 779 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 733 of file BaseIterator.hpp.
|
inline |
Definition at line 763 of file BaseIterator.hpp.
Referenced by PerAxisIterator< const int8_t, Decoder< float > >::operator[]().
|
protected |
Definition at line 789 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 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 788 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 791 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 786 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 787 of file BaseIterator.hpp.
Referenced by PerAxisIterator< const int8_t, Decoder< float > >::Reset(), and PerAxisIterator< const int8_t, Decoder< float > >::SetIndexOnMem().