|
ONE - On-device Neural Engine
|
Class that represents an Operand. More...
#include <OperandNode.h>

Public Types | |
| enum class | Type { UNDEFINED , MODEL_INPUT , MODEL_OUTPUT , INTERNAL } |
Public Member Functions | |
| Operand (const ir::OperandIndex &index, Type type) | |
| Construct a new Operand Node object. | |
Public Member Functions inherited from onert::dumper::dot::Node | |
| virtual | ~Node ()=default |
| Destroy the Node object. | |
| Node (const std::string &id) | |
| Construct a new Node object. | |
| std::string | id () const |
| return id | |
| const std::unordered_map< std::string, std::string > & | attributes () const |
| return attributes | |
| void | setAttribute (const std::string &key, const std::string &val) |
| Store an attribute with key-value pair. | |
| std::string | getAttribute (const std::string &key) |
| Get the attributte value that is associated with key. | |
| void | addOutEdge (Node *dotinfo) |
| Add an edge in the graph, which is an outgoing edge. | |
| const std::vector< Node * > & | out_edges () const |
| Return list of out edges. | |
Static Public Attributes | |
| static const std::string | INPUT_SHAPE = "doublecircle" |
| static const std::string | OUTPUT_SHAPE = "doublecircle" |
| static const std::string | OPERAND_SHAPE = "ellipse" |
| static const std::string | BG_COLOR_SCHEME = "set18" |
Static Public Attributes inherited from onert::dumper::dot::Node | |
| static const std::string | DEFAULT_FILLCOLOR = "x11" |
| static const std::string | DEFAULT_COLORSCHEME = "white" |
| static const std::string | BG_COLORS [8] = {"1", "2", "3", "4", "5", "6", "7", "8"} |
Class that represents an Operand.
Definition at line 40 of file OperandNode.h.
|
strong |
| Enumerator | |
|---|---|
| UNDEFINED | |
| MODEL_INPUT | |
| MODEL_OUTPUT | |
| INTERNAL | |
Definition at line 43 of file OperandNode.h.
| Operand::Operand | ( | const ir::OperandIndex & | index, |
| Type | type | ||
| ) |
Construct a new Operand Node object.
| [in] | index | Operand index |
| [in] | type | Operand type |
Definition at line 25 of file OperandNode.cc.
References BG_COLOR_SCHEME, INPUT_SHAPE, INTERNAL, MODEL_INPUT, MODEL_OUTPUT, OPERAND_SHAPE, OUTPUT_SHAPE, onert::dumper::dot::Node::setAttribute(), type, and UNDEFINED.
|
inlinestatic |
Definition at line 55 of file OperandNode.h.
Referenced by Operand().
|
inlinestatic |
Definition at line 52 of file OperandNode.h.
Referenced by Operand().
|
inlinestatic |
Definition at line 54 of file OperandNode.h.
Referenced by Operand().
|
inlinestatic |
Definition at line 53 of file OperandNode.h.
Referenced by Operand().