ONE - On-device Neural Engine
|
WHILE in Circle. More...
#include <CircleWhile.h>
Public Member Functions | |
CircleWhile (uint32_t arity, uint32_t out) | |
uint32_t | input_count (void) const |
uint32_t | output_count (void) const |
Node * | input (uint32_t index) const |
void | input (uint32_t index, Node *node) |
int32_t | cond_branch (void) const |
void | cond_branch (int32_t cond_branch) |
int32_t | body_branch (void) const |
void | body_branch (int32_t body_branch) |
loco::Graph * | cond_graph (void) const |
void | cond_graph (loco::Graph *cond_graph) |
loco::Graph * | body_graph (void) const |
void | body_graph (loco::Graph *body_graph) |
Public Member Functions inherited from luci::VariadicArityNode< CircleNodeImpl< CircleOpcode::WHILE > > | |
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::WHILE > | |
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::WHILE > > | |
loco::Use * | at (uint32_t n) const |
WHILE in Circle.
Definition at line 33 of file CircleWhile.h.
|
inline |
Definition at line 36 of file CircleWhile.h.
References luci::VariadicArityNode< CircleNodeImpl< CircleOpcode::WHILE > >::arity().
|
inline |
Definition at line 59 of file CircleWhile.h.
References body_branch().
Referenced by body_branch().
|
inline |
Definition at line 58 of file CircleWhile.h.
Referenced by luci::CircleWhileGraphBuilder::build(), and luci::BuiltinOptionsExtractor::visit().
|
inline |
Definition at line 66 of file CircleWhile.h.
References body_graph().
Referenced by body_graph().
|
inline |
Definition at line 65 of file CircleWhile.h.
|
inline |
Definition at line 56 of file CircleWhile.h.
References cond_branch().
Referenced by cond_branch().
|
inline |
Definition at line 55 of file CircleWhile.h.
Referenced by luci::CircleWhileGraphBuilder::build(), and luci::BuiltinOptionsExtractor::visit().
|
inline |
Definition at line 63 of file CircleWhile.h.
References cond_graph().
Referenced by cond_graph().
|
inline |
Definition at line 62 of file CircleWhile.h.
|
inline |
Definition at line 51 of file CircleWhile.h.
References luci::VariadicArityNode< CircleNodeImpl< CircleOpcode::WHILE > >::at(), and loco::Use::node().
Referenced by luci::CircleWhileGraphBuilder::build().
|
inline |
Definition at line 52 of file CircleWhile.h.
References luci::VariadicArityNode< CircleNodeImpl< CircleOpcode::WHILE > >::at(), and loco::Use::node().
|
inline |
Definition at line 47 of file CircleWhile.h.
References luci::VariadicArityNode< CircleNodeImpl< CircleOpcode::WHILE > >::arity().
Referenced by luci::CloneNodeLet< CN::WXYZ >::visit().
|
inline |
Definition at line 48 of file CircleWhile.h.
Referenced by luci::CloneNodeLet< CN::WXYZ >::visit().