ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nnfw::misc::vector::Reader< T > Struct Template Referenceabstract

Class reads values of vector The interface class. More...

#include <Reader.h>

Public Member Functions

virtual ~Reader ()=default
 Destruct Reader object using default destructor.
 
virtual T at (uint32_t nth) const =0
 Get the value used by the index.
 

Detailed Description

template<typename T>
struct nnfw::misc::vector::Reader< T >

Class reads values of vector The interface class.

Definition at line 39 of file Reader.h.

Constructor & Destructor Documentation

◆ ~Reader()

template<typename T >
virtual nnfw::misc::vector::Reader< T >::~Reader ( )
virtualdefault

Destruct Reader object using default destructor.

Member Function Documentation

◆ at()

template<typename T >
virtual T nnfw::misc::vector::Reader< T >::at ( uint32_t  nth) const
pure virtual

Get the value used by the index.

Parameters
[in]nthThe vector index
Returns
The value at the offset

Implemented in nnfw::misc::vector::Object< T >.


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