ONE - On-device Neural Engine
Loading...
Searching...
No Matches
onert::dumper::dot::DotBuilder Class Reference

#include <DotBuilder.h>

Public Member Functions

 DotBuilder ()
 
void update (const Node &dotinfo)
 
void writeDot (std::ostream &os)
 

Detailed Description

Definition at line 39 of file DotBuilder.h.

Constructor & Destructor Documentation

◆ DotBuilder()

onert::dumper::dot::DotBuilder::DotBuilder ( )

Definition at line 27 of file DotBuilder.cc.

27{}

Member Function Documentation

◆ update()

void onert::dumper::dot::DotBuilder::update ( const Node dotinfo)

Definition at line 29 of file DotBuilder.cc.

30{
31 add(node_info);
32 for (auto &&edge : node_info.out_edges())
33 {
34 addEdge(node_info, *edge);
35 }
36}

References onert::dumper::dot::Node::out_edges().

◆ writeDot()

void onert::dumper::dot::DotBuilder::writeDot ( std::ostream &  os)

Definition at line 38 of file DotBuilder.cc.

39{
40 os << "digraph D {\n"
41 << _dot.str() << "\n"
42 << "}\n";
43}

The documentation for this class was generated from the following files: