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

Public Member Functions | |
| Operation (const ir::OperationIndex &index, const ir::IOperation &node) | |
| Construct a new Operation 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 | OPERATION_SHAPE = "rect" |
| static const std::string | BG_COLOR_SCHEME = "pastel18" |
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 Operation.
Definition at line 38 of file OperationNode.h.
| Operation::Operation | ( | const ir::OperationIndex & | index, |
| const ir::IOperation & | node | ||
| ) |
Construct a new Operation Node object.
| [in] | index | operation index |
| [in] | node | operation object |
Definition at line 27 of file OperationNode.cc.
References BG_COLOR_SCHEME, onert::dumper::dot::Node::DEFAULT_FILLCOLOR, onert::ir::IOperation::name(), OPERATION_SHAPE, and onert::dumper::dot::Node::setAttribute().
|
inlinestatic |
Definition at line 42 of file OperationNode.h.
Referenced by Operation().
|
inlinestatic |
Definition at line 41 of file OperationNode.h.
Referenced by Operation().