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