24.02
|
#include <BaseIterator.hpp>
Public Member Functions | |
ScaledInt32Decoder (const int32_t *data, const float scale) | |
ScaledInt32Decoder (const float scale) | |
float | Get () const override |
std::vector< float > | DecodeTensor (const TensorShape &tensorShape, const bool) override |
Public Member Functions inherited from TypedIterator< const int32_t, Decoder< float > > | |
TypedIterator (const int32_t *data=nullptr) | |
void | Reset (void *data) override |
TypedIterator & | operator++ () override |
TypedIterator & | operator+= (const unsigned int increment) override |
TypedIterator & | operator-= (const unsigned int increment) override |
TypedIterator & | 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 TypedIterator< const int32_t, Decoder< float > > | |
const int32_t * | m_Iterator |
const int32_t * | m_Start |
Definition at line 308 of file BaseIterator.hpp.
|
inline |
Definition at line 311 of file BaseIterator.hpp.
|
inline |
Definition at line 314 of file BaseIterator.hpp.
|
inlineoverridevirtual |
Implements Decoder< float >.
Definition at line 321 of file BaseIterator.hpp.
References TensorShape::GetNumElements(), TypedIterator< const int32_t, Decoder< float > >::m_Iterator, and TypedIterator< const int32_t, Decoder< float > >::operator[]().
|
inlineoverride |
Definition at line 317 of file BaseIterator.hpp.