ONE - On-device Neural Engine
|
#include <DotDumper.h>
Public Types | |
enum | Level { OFF = 0 , ALL_BUT_CONSTANTS = 1 , ALL = 2 } |
Public Member Functions | |
DotDumper (Level level) | |
void | dump (const ir::Graph &graph, const std::string &tag) |
Dump graph information to dot file as tag name if "GRAPH_DOT_DUMP" is set. | |
void | dump (const compiler::ILoweredGraph &lowered_graph, const std::string &tag) |
Dump lowered graph information to dot file as tag name if "GRAPH_DOT_DUMP" is set. | |
void | dump (const ir::train::TrainableGraph &graph, const std::string &tag) |
Dump graph information to dot file as tag name if "GRAPH_DOT_DUMP" is set. | |
Definition at line 31 of file DotDumper.h.
|
inline |
Definition at line 42 of file DotDumper.h.
void onert::dumper::dot::DotDumper::dump | ( | const compiler::ILoweredGraph & | lowered_graph, |
const std::string & | tag | ||
) |
Dump lowered graph information to dot file as tag name if "GRAPH_DOT_DUMP" is set.
[in] | graph | The graph that would be used to get operations and operands |
[in] | tag | The name of dot file that would be created |
Definition at line 217 of file DotDumper.cc.
References onert::compiler::ILoweredGraph::graph().
void onert::dumper::dot::DotDumper::dump | ( | const ir::Graph & | graph, |
const std::string & | tag | ||
) |
Dump graph information to dot file as tag name if "GRAPH_DOT_DUMP" is set.
[in] | graph | The graph that would be used to get operations and operands |
[in] | tag | The name of dot file that would be created |
Definition at line 204 of file DotDumper.cc.
Referenced by onert::compiler::Compiler::compile(), onert::compiler::MultiModelCompiler::compile(), and onert::compiler::train::TrainingCompiler::compile().
void onert::dumper::dot::DotDumper::dump | ( | const ir::train::TrainableGraph & | graph, |
const std::string & | tag | ||
) |
Dump graph information to dot file as tag name if "GRAPH_DOT_DUMP" is set.
[in] | graph | TrainableGraph to be dumped |
[in] | tag | The name of dot file to be dumped |
Definition at line 231 of file DotDumper.cc.
References dump().