ONE - On-device Neural Engine
|
FULLY_CONNECTED in Circle. More...
#include <CircleFullyConnected.h>
Public Types | |
enum class | WeightsFormat { UNDEFINED , DEFAULT , SHUFFLED4x16INT8 , SHUFFLED16x1FLOAT32 } |
Public Member Functions | |
loco::Node * | input (void) const |
void | input (loco::Node *node) |
loco::Node * | weights (void) const |
void | weights (loco::Node *node) |
loco::Node * | bias (void) const override |
void | bias (loco::Node *node) override |
get the input for bias. | |
WeightsFormat | weights_format (void) const |
void | weights_format (WeightsFormat weights_format) |
bool | keep_num_dims (void) const |
void | keep_num_dims (bool keep_num_dims) |
Public Member Functions inherited from luci::FixedArityNode< 3, CircleNodeImpl< CircleOpcode::FULLY_CONNECTED > > | |
FixedArityNode () | |
virtual | ~FixedArityNode ()=default |
uint32_t | arity (void) const final |
loco::Node * | arg (uint32_t n) const final |
void | drop (void) final |
Public Member Functions inherited from luci::CircleNodeImpl< CircleOpcode::FULLY_CONNECTED > | |
virtual | ~CircleNodeImpl ()=default |
uint32_t | opnum (void) const final |
CircleOpcode | opcode (void) const final |
Public Member Functions inherited from luci::CircleNode | |
virtual | ~CircleNode ()=default |
const loco::Dialect * | dialect (void) const final |
Return "Dialect" identifier that this node belongs to. | |
template<typename T > | |
T | accept (CircleNodeVisitorBase< T > *) const |
template<typename T > | |
T | accept (CircleNodeMutableVisitorBase< T > *) |
NodeName | name (void) const |
void | name (const NodeName &name) |
CircleQuantParam * | quantparam (void) const |
void | quantparam (std::unique_ptr< CircleQuantParam > &&quantparam) |
SparsityParam * | sparsityparam (void) const |
void | sparsityparam (std::unique_ptr< SparsityParam > &&sparsityparam) |
ShapeStatus | shape_status (void) const |
void | shape_status (ShapeStatus ss) |
int32_t | op_version (void) const |
void | op_version (int32_t op_version) |
Public Member Functions inherited from loco::Node | |
Node ()=default | |
Node (const Node &)=delete | |
Node (Node &&)=delete | |
virtual | ~Node () |
Graph * | graph (void) |
const Graph * | graph (void) const |
Public Member Functions inherited from loco::AnnotatedItem< NodeAnnotation > | |
AnnotatedItem ()=default | |
virtual | ~AnnotatedItem ()=default |
const T * | annot (void) const |
Retrieve a stored annotation of type T. | |
void | annot (std::unique_ptr< T > &&p) |
Attach or remove a new annotation of type T. | |
Public Member Functions inherited from luci::CircleNodeMixin< CircleNodeTrait::FusedActFunc > | |
CircleNodeMixin ()=default | |
FusedActFunc | fusedActivationFunction () const |
void | fusedActivationFunction (FusedActFunc fused_act_fun) |
Public Member Functions inherited from luci::CircleNodeMixin< CircleNodeTrait::Bias > | |
CircleNodeMixin ()=default | |
Additional Inherited Members | |
Protected Member Functions inherited from luci::FixedArityNode< 3, CircleNodeImpl< CircleOpcode::FULLY_CONNECTED > > | |
loco::Use * | at (uint32_t n) const |
FULLY_CONNECTED in Circle.
Definition at line 32 of file CircleFullyConnected.h.
|
strong |
Enumerator | |
---|---|
UNDEFINED | |
DEFAULT | |
SHUFFLED4x16INT8 | |
SHUFFLED16x1FLOAT32 |
Definition at line 38 of file CircleFullyConnected.h.
|
inlineoverridevirtual |
get the input for bias.
Implements luci::CircleNodeMixin< CircleNodeTrait::Bias >.
Definition at line 55 of file CircleFullyConnected.h.
References luci::FixedArityNode< 3, CircleNodeImpl< CircleOpcode::FULLY_CONNECTED > >::at(), and loco::Use::node().
|
inlineoverridevirtual |
Implements luci::CircleNodeMixin< CircleNodeTrait::Bias >.
Definition at line 54 of file CircleFullyConnected.h.
References luci::FixedArityNode< 3, CircleNodeImpl< CircleOpcode::FULLY_CONNECTED > >::at(), and loco::Use::node().
|
inline |
Definition at line 49 of file CircleFullyConnected.h.
References luci::FixedArityNode< 3, CircleNodeImpl< CircleOpcode::FULLY_CONNECTED > >::at(), and loco::Use::node().
|
inline |
Definition at line 48 of file CircleFullyConnected.h.
References luci::FixedArityNode< 3, CircleNodeImpl< CircleOpcode::FULLY_CONNECTED > >::at(), and loco::Use::node().
Referenced by luci::sinf::Algorithm::visit().
|
inline |
Definition at line 62 of file CircleFullyConnected.h.
References keep_num_dims().
Referenced by keep_num_dims().
|
inline |
Definition at line 61 of file CircleFullyConnected.h.
Referenced by luci::CloneNodeLet< CN::DEF >::visit(), luci::sinf::Algorithm::visit(), and luci::BuiltinOptionsExtractor::visit().
|
inline |
Definition at line 52 of file CircleFullyConnected.h.
References luci::FixedArityNode< 3, CircleNodeImpl< CircleOpcode::FULLY_CONNECTED > >::at(), and loco::Use::node().
|
inline |
Definition at line 51 of file CircleFullyConnected.h.
References luci::FixedArityNode< 3, CircleNodeImpl< CircleOpcode::FULLY_CONNECTED > >::at(), and loco::Use::node().
Referenced by luci::sinf::Algorithm::visit().
|
inline |
Definition at line 58 of file CircleFullyConnected.h.
Referenced by luci::CloneNodeLet< CN::DEF >::visit(), and luci::BuiltinOptionsExtractor::visit().
|
inline |
Definition at line 59 of file CircleFullyConnected.h.
References weights_format().
Referenced by weights_format().