ONE - On-device Neural Engine
|
Matrix Shape. More...
#include <MatrixShape.h>
Public Member Functions | |
MatrixShape ()=default | |
const Dimension & | height (void) const |
Dimension & | height (void) |
const Dimension & | width (void) const |
Dimension & | width (void) |
Matrix Shape.
This class describes the shape of matrix, which serves as the input/output of matrix operations (e.g. Matrix Multiplication).
Each matrix is a collection of 2D features conceptually. Each matrix has height, width.
height() refers to the height of matrix in a given matrix width() refers to the width of matrix in a given matrix
Definition at line 37 of file MatrixShape.h.
|
default |
|
inline |
Definition at line 44 of file MatrixShape.h.
|
inline |
Definition at line 43 of file MatrixShape.h.
Referenced by loco::NodeShape::as(), loco::operator==(), loco::NodeShape::set(), loco::PermutingDecoder< Domain::Matrix >::shape(), loco::PermutingEncoder< Domain::Matrix >::shape(), and exo::to_shape_description().
|
inline |
Definition at line 47 of file MatrixShape.h.
|
inline |
Definition at line 46 of file MatrixShape.h.
Referenced by loco::NodeShape::as(), loco::operator==(), loco::NodeShape::set(), loco::PermutingDecoder< Domain::Matrix >::shape(), loco::PermutingEncoder< Domain::Matrix >::shape(), and exo::to_shape_description().