ONE - On-device Neural Engine
|
Filter Shape. More...
#include <FilterShape.h>
Public Member Functions | |
FilterShape ()=default | |
const Dimension & | count (void) const |
Dimension & | count (void) |
const Dimension & | depth (void) const |
Dimension & | depth (void) |
const Dimension & | height (void) const |
Dimension & | height (void) |
const Dimension & | width (void) const |
Dimension & | width (void) |
Filter Shape.
This class describes the shape of filter, which is an input of 2D convolutional operations (e.g. Convolution).
count() refers to the number of 3D weight in a filter depth() refers to the depth of 3D weights height() refers to the height of 3D weights width() refers to the width of 3D weights
NOTE
The definition of FilterShape is almost same as that of FeatureShape, but loco distinguishes FeatureShape and FilterShape in class-level in order to prevent potential errors by type check.
Definition at line 42 of file FilterShape.h.
|
default |
|
inline |
Definition at line 49 of file FilterShape.h.
|
inline |
Definition at line 48 of file FilterShape.h.
Referenced by loco::NodeShape::as(), loco::operator<<(), loco::operator==(), loco::NodeShape::set(), loco::PermutingDecoder< Domain::Filter >::shape(), loco::PermutingEncoder< Domain::Filter >::shape(), and exo::to_shape_description().
|
inline |
Definition at line 52 of file FilterShape.h.
|
inline |
Definition at line 51 of file FilterShape.h.
Referenced by loco::NodeShape::as(), loco::operator<<(), loco::operator==(), loco::NodeShape::set(), loco::PermutingDecoder< Domain::Filter >::shape(), loco::PermutingEncoder< Domain::Filter >::shape(), and exo::to_shape_description().
|
inline |
Definition at line 55 of file FilterShape.h.
|
inline |
Definition at line 54 of file FilterShape.h.
Referenced by loco::NodeShape::as(), loco::operator<<(), loco::operator==(), loco::NodeShape::set(), loco::PermutingDecoder< Domain::Filter >::shape(), loco::PermutingEncoder< Domain::Filter >::shape(), and exo::to_shape_description().
|
inline |
Definition at line 58 of file FilterShape.h.
|
inline |
Definition at line 57 of file FilterShape.h.
Referenced by loco::NodeShape::as(), loco::operator<<(), loco::operator==(), loco::NodeShape::set(), loco::PermutingDecoder< Domain::Filter >::shape(), loco::PermutingEncoder< Domain::Filter >::shape(), and exo::to_shape_description().