ArmNN  NotReleased
Float16Decoder Class Reference

#include <BaseIterator.hpp>

Inheritance diagram for Float16Decoder:
TypedIterator< const Half, Decoder< float > > Decoder< float > BaseIterator

Public Member Functions

 Float16Decoder (const Half *data)
 
 Float16Decoder ()
 
float Get () const override
 
- Public Member Functions inherited from TypedIterator< const Half, Decoder< float > >
 TypedIterator (const Half *data=nullptr)
 
void Reset (void *data) override
 
TypedIteratoroperator++ () override
 
TypedIteratoroperator+= (const unsigned int increment) override
 
TypedIteratoroperator-= (const unsigned int increment) override
 
TypedIteratoroperator[] (const unsigned int index) override
 
TypedIteratorSetIndex (unsigned int index, unsigned int axisIndex=0) override
 
- Public Member Functions inherited from Decoder< float >
 Decoder ()
 
virtual ~Decoder ()
 
- Public Member Functions inherited from BaseIterator
 BaseIterator ()
 
virtual ~BaseIterator ()
 

Additional Inherited Members

- Protected Attributes inherited from TypedIterator< const Half, Decoder< float > >
const Halfm_Iterator
 
const Halfm_Start
 

Detailed Description

Definition at line 197 of file BaseIterator.hpp.

Constructor & Destructor Documentation

◆ Float16Decoder() [1/2]

Float16Decoder ( const Half data)
inline

Definition at line 200 of file BaseIterator.hpp.

201  : TypedIterator(data) {}

◆ Float16Decoder() [2/2]

Float16Decoder ( )
inline

Definition at line 203 of file BaseIterator.hpp.

204  : Float16Decoder(nullptr) {}

Member Function Documentation

◆ Get()

float Get ( ) const
inlineoverridevirtual

Implements Decoder< float >.

Definition at line 206 of file BaseIterator.hpp.

References FloatingPointConverter::ConvertFloat16To32().

207  {
208  float val = 0.f;
210  return val;
211  }
static void ConvertFloat16To32(const void *srcFloat16Buffer, size_t numElements, float *dstFloat32Buffer)

The documentation for this class was generated from the following file: