24.02
|
#include <BaseIterator.hpp>
Public Member Functions | |
ScaledInt32PerAxisDecoder (const int32_t *data, const armnn::TensorInfo tensorInfo) | |
float | Get () const override |
float | GetScale () const |
std::vector< float > | DecodeTensor (const TensorShape &tensorShape, bool isDepthwise) override |
Public Member Functions inherited from PerAxisIterator< const int32_t, Decoder< float > > | |
PerAxisIterator (const int32_t *data=nullptr, unsigned int axisFactor=0, unsigned int axisDimensionality=0) | |
PerAxisIterator (const int32_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 |
Public Member Functions inherited from Decoder< float > | |
Decoder () | |
virtual | ~Decoder () |
virtual float | Get () const=0 |
Public Member Functions inherited from BaseIterator | |
BaseIterator () | |
virtual | ~BaseIterator () |
Additional Inherited Members | |
Protected Attributes inherited from PerAxisIterator< const int32_t, Decoder< float > > | |
const int32_t * | m_Iterator |
const int32_t * | m_Start |
unsigned int | m_AxisIndex |
unsigned int | m_AxisDimensionality |
unsigned int | m_AxisFactor |
unsigned int | m_Index |
Definition at line 858 of file BaseIterator.hpp.
|
inline |
Definition at line 861 of file BaseIterator.hpp.
|
inlineoverridevirtual |
Implements Decoder< float >.
Definition at line 877 of file BaseIterator.hpp.
References armnn::Dequantize(), TensorShape::GetNumElements(), PerAxisIterator< const int32_t, Decoder< float > >::m_Iterator, and PerAxisIterator< const int32_t, Decoder< float > >::operator[]().
|
inlineoverride |
Definition at line 866 of file BaseIterator.hpp.
References armnn::Dequantize(), PerAxisIterator< const int32_t, Decoder< float > >::m_AxisIndex, and PerAxisIterator< const int32_t, Decoder< float > >::m_Iterator.
|
inline |
Definition at line 872 of file BaseIterator.hpp.
References PerAxisIterator< const int32_t, Decoder< float > >::m_AxisIndex.