ONE - On-device Neural Engine
|
#include <View.h>
Public Types | |
using | Strides = typename Reader< T >::Strides |
Public Types inherited from onert::exec::feature::nhwc::Reader< T > | |
using | Strides = ir::FeatureShape |
Public Member Functions | |
View (const ir::FeatureShape &shape, const Strides &strides, T *ptr, size_t len) | |
View (backend::ITensor *tensor) | |
T & | at (uint32_t batch, uint32_t row, uint32_t col, uint32_t ch) |
T & | at (uint32_t row, uint32_t col, uint32_t ch) |
Public Member Functions inherited from onert::exec::feature::nhwc::Reader< T > | |
Reader (const ir::FeatureShape &shape, const Strides &strides, const T *ptr, size_t len) | |
Reader (const backend::ITensor *tensor) | |
T | at (uint32_t batch, uint32_t row, uint32_t col, uint32_t ch) const final |
Get the value used by four indexes. | |
T | at (uint32_t row, uint32_t col, uint32_t ch) const final |
Get the value used by three indexes. | |
Public Member Functions inherited from onert::exec::feature::Reader< T > | |
virtual | ~Reader ()=default |
Destruct Reader object using default destructor. | |
Additional Inherited Members | |
Protected Member Functions inherited from onert::exec::feature::nhwc::Reader< T > | |
const T & | getRef (uint32_t batch, uint32_t row, uint32_t col, uint32_t ch) const |
using onert::exec::feature::nhwc::View< T >::Strides = typename Reader<T>::Strides |
|
inline |
|
inline |
|
inline |
Definition at line 57 of file View.h.
References onert::exec::feature::nhwc::Reader< T >::getRef().
|
inline |
Definition at line 61 of file View.h.
References onert::exec::feature::nhwc::Reader< T >::getRef().