|
ONE - On-device Neural Engine
|
Base interface on explicit computation steps in coco IR. More...
#include <Instr.h>

Data Structures | |
| struct | IVisitor |
| Instr visitor interface. More... | |
| struct | Visitor |
Public Member Functions | |
| Instr ()=default | |
| Instr (const Instr &)=delete | |
| Instr (Instr &&)=delete | |
| virtual | ~Instr () |
| template<typename T > | |
| T | accept (IVisitor< T > *v) const |
| template<typename T > | |
| T | accept (IVisitor< T > &v) const |
| template<typename T > | |
| T | accept (IVisitor< T > &&v) const |
| const InstrIndex & | index (void) const |
Public Member Functions inherited from coco::DLinkedList< Child, Parent >::Node | |
| Node () | |
| virtual | ~Node () |
| Parent * | parent (void) const |
| Child * | prev (void) const |
| Child * | next (void) const |
| void | insertBefore (Node *next) |
| void | insertAfter (Node *prev) |
| void | detach (void) |
Public Member Functions inherited from coco::Entity | |
| virtual | ~Entity ()=default |
| Module * | module (void) const |
Friends | |
| void | DLinkedList (Block *, Instr *) |
| void | DLinkedList (Block *, Instr *) |
Base interface on explicit computation steps in coco IR.
NOTE Input/output is explicit in Instr, but implicit in Op NOTE Instr is may (not always) be a combination of multiple NN operations
One may find a set of supported instructions from "Instrs.h"
How to add a new base instruction in coco IR <<
To introduce a new instruction (whose name is INS),
|
default |
|
delete |
|
delete |
|
inlinevirtual |
Definition at line 70 of file Instr.h.
References coco::DLinkedList< Child, Parent >::Node::detach(), and coco::DLinkedList< Child, Parent >::Node::parent().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 130 of file Instr.h.
Referenced by onert.experimental.train.dataloader.DataLoader::__next__(), coco::DLinkedList< Child, Parent >::joined(), and coco::DLinkedList< Child, Parent >::leaving().
|
friend |
|
friend |