ONE - On-device Neural Engine
|
Matrix Index. More...
#include <MatrixIndex.h>
Public Member Functions | |
MatrixIndex ()=default | |
const uint32_t & | row (void) const |
uint32_t & | row (void) |
const uint32_t & | column (void) const |
uint32_t & | column (void) |
Matrix Index.
Matrix Index indicates an "element" in a given Matrix
Let us assume that there is a Matrix F and S denotes its shape (of MatrixShape type).
Then, any valid Matrix index I satisfies the following invariants:
Definition at line 36 of file MatrixIndex.h.
|
default |
|
inline |
Definition at line 46 of file MatrixIndex.h.
|
inline |
Definition at line 45 of file MatrixIndex.h.
Referenced by loco::PermutingEncoder< Domain::Matrix >::value(), and loco::PermutingDecoder< Domain::Matrix >::value().
|
inline |
Definition at line 43 of file MatrixIndex.h.
|
inline |
Definition at line 42 of file MatrixIndex.h.
Referenced by loco::PermutingEncoder< Domain::Matrix >::value(), and loco::PermutingDecoder< Domain::Matrix >::value().