ONE - On-device Neural Engine
|
IF in Circle. More...
#include <CircleIf.h>
Public Member Functions | |
CircleIf (uint32_t arity, uint32_t out) | |
uint32_t | input_count (void) const |
uint32_t | output_count (void) const |
Node * | cond (void) const |
void | cond (Node *node) |
Node * | input (uint32_t index) const |
void | input (uint32_t index, Node *node) |
int32_t | then_branch (void) const |
void | then_branch (int32_t then_branch) |
int32_t | else_branch (void) const |
void | else_branch (int32_t else_branch) |
loco::Graph * | then_graph (void) const |
void | then_graph (loco::Graph *then_graph) |
loco::Graph * | else_graph (void) const |
void | else_graph (loco::Graph *else_graph) |
Public Member Functions inherited from luci::VariadicArityNode< CircleNodeImpl< CircleOpcode::IF > > | |
VariadicArityNode (uint32_t arity) | |
virtual | ~VariadicArityNode ()=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::IF > | |
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. | |
Additional Inherited Members | |
Protected Member Functions inherited from luci::VariadicArityNode< CircleNodeImpl< CircleOpcode::IF > > | |
loco::Use * | at (uint32_t n) const |
IF in Circle.
Definition at line 33 of file CircleIf.h.
|
inline |
Definition at line 36 of file CircleIf.h.
References luci::VariadicArityNode< CircleNodeImpl< CircleOpcode::IF > >::arity().
|
inline |
Definition at line 49 of file CircleIf.h.
References luci::VariadicArityNode< CircleNodeImpl< CircleOpcode::IF > >::at(), and loco::Use::node().
|
inline |
Definition at line 48 of file CircleIf.h.
References luci::VariadicArityNode< CircleNodeImpl< CircleOpcode::IF > >::at(), and loco::Use::node().
|
inline |
Definition at line 59 of file CircleIf.h.
References else_branch().
Referenced by else_branch().
|
inline |
Definition at line 58 of file CircleIf.h.
Referenced by luci::BuiltinOptionsExtractor::visit().
|
inline |
Definition at line 66 of file CircleIf.h.
References else_graph().
Referenced by else_graph().
|
inline |
Definition at line 65 of file CircleIf.h.
|
inline |
Definition at line 51 of file CircleIf.h.
References luci::VariadicArityNode< CircleNodeImpl< CircleOpcode::IF > >::at(), and loco::Use::node().
|
inline |
Definition at line 52 of file CircleIf.h.
References luci::VariadicArityNode< CircleNodeImpl< CircleOpcode::IF > >::at(), and loco::Use::node().
|
inline |
Definition at line 44 of file CircleIf.h.
References luci::VariadicArityNode< CircleNodeImpl< CircleOpcode::IF > >::arity().
Referenced by luci::CloneNodeLet< CN::GHIJ >::visit().
|
inline |
Definition at line 45 of file CircleIf.h.
Referenced by luci::CloneNodeLet< CN::GHIJ >::visit().
|
inline |
Definition at line 56 of file CircleIf.h.
References then_branch().
Referenced by then_branch().
|
inline |
Definition at line 55 of file CircleIf.h.
Referenced by luci::BuiltinOptionsExtractor::visit().
|
inline |
Definition at line 63 of file CircleIf.h.
References then_graph().
Referenced by then_graph().
|
inline |
Definition at line 62 of file CircleIf.h.