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

Structure to Reader. More...

#include <Reader.h>

Public Member Functions

virtual ~Reader ()=default
 Destroy the Reader object as default.
 
virtual T at (uint32_t nth, uint32_t ch, uint32_t row, uint32_t col) const =0
 Get the value used by four indexes.
 

Detailed Description

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

Structure to Reader.

Definition at line 38 of file Reader.h.

Constructor & Destructor Documentation

◆ ~Reader()

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

Destroy the Reader object as default.

Member Function Documentation

◆ at()

template<typename T >
virtual T nnfw::misc::kernel::Reader< T >::at ( uint32_t  nth,
uint32_t  ch,
uint32_t  row,
uint32_t  col 
) const
pure virtual

Get the value used by four indexes.

Parameters
[in]nthThe kernel index
[in]chThe channel index
[in]rowThe row index
[in]colThe column index
Returns
The value at the offset

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