ArmNN
 24.02
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 605 of file BaseIterator.hpp.

Constructor & Destructor Documentation

◆ Float32Encoder() [1/2]

Float32Encoder ( float *  data)
inline

Definition at line 608 of file BaseIterator.hpp.

609  : TypedIterator(data) {}

◆ Float32Encoder() [2/2]

Float32Encoder ( )
inline

Definition at line 611 of file BaseIterator.hpp.

612  : Float32Encoder(nullptr) {}

Member Function Documentation

◆ Get()

float Get ( ) const
inlineoverride

Definition at line 619 of file BaseIterator.hpp.

620  {
621  return *m_Iterator;
622  }

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

◆ Set()

void Set ( float  right)
inlineoverridevirtual

Implements Encoder< float >.

Definition at line 614 of file BaseIterator.hpp.

615  {
616  *m_Iterator = right;
617  }

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:108
armnn::TypedIterator< float, Encoder< float > >::TypedIterator
TypedIterator(float *data=nullptr)
Definition: BaseIterator.hpp:69
armnn::Float32Encoder::Float32Encoder
Float32Encoder()
Definition: BaseIterator.hpp:611