24.02
|
#include <BaseIterator.hpp>
Public Member Functions | |
Float16Decoder (const Half *data) | |
Float16Decoder () | |
float | Get () const override |
std::vector< float > | DecodeTensor (const TensorShape &tensorShape, const bool) override |
Public Member Functions inherited from TypedIterator< const Half, Decoder< float > > | |
TypedIterator (const Half *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 Half, Decoder< float > > | |
const Half * | m_Iterator |
const Half * | m_Start |
Definition at line 248 of file BaseIterator.hpp.
|
inline |
Definition at line 251 of file BaseIterator.hpp.
|
inline |
Definition at line 254 of file BaseIterator.hpp.
|
inlineoverridevirtual |
Implements Decoder< float >.
Definition at line 263 of file BaseIterator.hpp.
References FloatingPointConverter::ConvertFloat16To32(), TensorShape::GetNumElements(), TypedIterator< const Half, Decoder< float > >::m_Iterator, and TypedIterator< const Half, Decoder< float > >::operator[]().
|
inlineoverride |
Definition at line 257 of file BaseIterator.hpp.
References FloatingPointConverter::ConvertFloat16To32(), and TypedIterator< const Half, Decoder< float > >::m_Iterator.