ONE - On-device Neural Engine
|
Structure to have values of dimensions for feature. More...
#include <Shape.h>
Public Member Functions | |
FeatureShape ()=default | |
Construct FeatureShape object using default constrcutor. | |
FeatureShape (int32_t depth, int32_t height, int32_t width) | |
Construct FeatureShape object with three values of dimensions. | |
FeatureShape (int32_t batch, int32_t depth, int32_t height, int32_t width) | |
Construct FeatureShape object with four values of dimensions. | |
Data Fields | |
int32_t | N |
int32_t | C |
int32_t | H |
int32_t | W |
|
default |
Construct FeatureShape object using default constrcutor.
|
inline |
|
inline |
int32_t onert::ir::FeatureShape::C |
The depth value
Definition at line 38 of file Shape.h.
Referenced by onert::exec::feature::IndexIterator::iter(), onert::exec::feature::nchw::Reader< T >::Reader(), and onert::exec::feature::nhwc::Reader< T >::Reader().
int32_t onert::ir::FeatureShape::H |
The height value
Definition at line 39 of file Shape.h.
Referenced by onert::exec::feature::IndexIterator::iter(), onert::exec::feature::nchw::Reader< T >::Reader(), and onert::exec::feature::nhwc::Reader< T >::Reader().
int32_t onert::ir::FeatureShape::N |
The batch value
Definition at line 37 of file Shape.h.
Referenced by onert::exec::feature::IndexIterator::iter(), onert::exec::feature::nchw::Reader< T >::Reader(), and onert::exec::feature::nhwc::Reader< T >::Reader().
int32_t onert::ir::FeatureShape::W |
The width value
Definition at line 40 of file Shape.h.
Referenced by onert::exec::feature::IndexIterator::iter(), onert::exec::feature::nchw::Reader< T >::Reader(), and onert::exec::feature::nhwc::Reader< T >::Reader().