ONE - On-device Neural Engine
|
Class reads values of feature The interface class. More...
#include <Reader.h>
Public Member Functions | |
virtual | ~Reader ()=default |
Destruct Reader object using default destructor. | |
virtual T | at (uint32_t ch, uint32_t row, uint32_t col) const =0 |
Get the value used by three indexes. | |
virtual T | at (uint32_t batch, uint32_t ch, uint32_t row, uint32_t col) const =0 |
Get the value used by four indexes. | |
Class reads values of feature The interface class.
|
virtualdefault |
Destruct Reader object using default destructor.
|
pure virtual |
Get the value used by four indexes.
[in] | batch | The batch index |
[in] | ch | The depth index |
[in] | row | The height index |
[in] | col | The width index |
Implemented in onert::exec::feature::nchw::Reader< T >, and onert::exec::feature::nhwc::Reader< T >.
|
pure virtual |
Get the value used by three indexes.
[in] | ch | The depth index |
[in] | row | The height index |
[in] | col | The width index |
Implemented in onert::exec::feature::nchw::Reader< T >, and onert::exec::feature::nhwc::Reader< T >.