ONE - On-device Neural Engine
|
Feature Index. More...
#include <FeatureIndex.h>
Public Member Functions | |
FeatureIndex ()=default | |
const uint32_t & | batch (void) const |
uint32_t & | batch (void) |
const uint32_t & | channel (void) const |
uint32_t & | channel (void) |
const uint32_t & | row (void) const |
uint32_t & | row (void) |
const uint32_t & | column (void) const |
uint32_t & | column (void) |
Feature Index.
Feature Index indicates an "element" in a given feature map.
Let us assume that there is a feature map F and S denotes its shape (of FeatureShape type).
Then, any valid feature index I satisfies the following invariants:
Definition at line 38 of file FeatureIndex.h.
|
default |
|
inline |
Definition at line 45 of file FeatureIndex.h.
|
inline |
Definition at line 44 of file FeatureIndex.h.
Referenced by loco::PermutingEncoder< Domain::Feature >::value(), and loco::PermutingDecoder< Domain::Feature >::value().
|
inline |
Definition at line 48 of file FeatureIndex.h.
|
inline |
Definition at line 47 of file FeatureIndex.h.
Referenced by loco::PermutingEncoder< Domain::Feature >::value(), and loco::PermutingDecoder< Domain::Feature >::value().
|
inline |
Definition at line 54 of file FeatureIndex.h.
|
inline |
Definition at line 53 of file FeatureIndex.h.
Referenced by loco::PermutingEncoder< Domain::Feature >::value(), and loco::PermutingDecoder< Domain::Feature >::value().
|
inline |
Definition at line 51 of file FeatureIndex.h.
|
inline |
Definition at line 50 of file FeatureIndex.h.
Referenced by loco::PermutingEncoder< Domain::Feature >::value(), and loco::PermutingDecoder< Domain::Feature >::value().