ArmNN
 24.08
Float32Encoder Class Reference

#include <BaseIterator.hpp>

Inheritance diagram for Float32Encoder:
[legend]
Collaboration diagram for Float32Encoder:
[legend]

Public Member Functions

 Float32Encoder (float *data)
 
 Float32Encoder ()
 
void Set (float right) override
 
float Get () const override
 
- Public Member Functions inherited from TypedIterator< float, Encoder< float > >
 TypedIterator (float *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
 
- Public Member Functions inherited from Encoder< float >
 Encoder ()
 
virtual ~Encoder ()
 
virtual float Get () const=0
 
- Public Member Functions inherited from BaseIterator
 BaseIterator ()
 
virtual ~BaseIterator ()
 

Additional Inherited Members

- Protected Attributes inherited from TypedIterator< float, Encoder< float > >
float * m_Iterator
 
float * m_Start
 

Detailed Description

Definition at line 604 of file BaseIterator.hpp.

Constructor & Destructor Documentation

◆ Float32Encoder() [1/2]

Float32Encoder ( float *  data)
inline

Definition at line 607 of file BaseIterator.hpp.

608  : TypedIterator(data) {}

◆ Float32Encoder() [2/2]

Float32Encoder ( )
inline

Definition at line 610 of file BaseIterator.hpp.

611  : Float32Encoder(nullptr) {}

Member Function Documentation

◆ Get()

float Get ( ) const
inlineoverride

Definition at line 618 of file BaseIterator.hpp.

619  {
620  return *m_Iterator;
621  }

References TypedIterator< float, Encoder< float > >::m_Iterator.

◆ Set()

void Set ( float  right)
inlineoverridevirtual

Implements Encoder< float >.

Definition at line 613 of file BaseIterator.hpp.

614  {
615  *m_Iterator = right;
616  }

References TypedIterator< float, Encoder< float > >::m_Iterator.


The documentation for this class was generated from the following file:
armnn::TypedIterator< float, Encoder< float > >::m_Iterator
float * m_Iterator
Definition: BaseIterator.hpp:107
armnn::TypedIterator< float, Encoder< float > >::TypedIterator
TypedIterator(float *data=nullptr)
Definition: BaseIterator.hpp:68
armnn::Float32Encoder::Float32Encoder
Float32Encoder()
Definition: BaseIterator.hpp:610