Compute Library
 21.11
DotGraphPrinter Class Referencefinal

Graph printer interface. More...

#include <DotGraphPrinter.h>

Collaboration diagram for DotGraphPrinter:
[legend]

Public Member Functions

void print (const Graph &g, std::ostream &os) override
 Print graph. More...
 
- Public Member Functions inherited from IGraphPrinter
virtual ~IGraphPrinter ()=default
 Virtual Destructor. More...
 

Detailed Description

Graph printer interface.

Definition at line 71 of file DotGraphPrinter.h.

Member Function Documentation

◆ print()

void print ( const Graph g,
std::ostream &  os 
)
overridevirtual

Print graph.

Parameters
[in]gGraph to print
[out]osOutput stream

Implements IGraphPrinter.

Definition at line 133 of file DotGraphPrinter.cpp.

References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_UNUSED, TensorDescriptor::data_type, Tensor::desc(), Graph::edges(), TensorDescriptor::layout, arm_compute::test::validation::n, name, Graph::name(), Graph::nodes(), TensorDescriptor::shape, tf_frozen_model_extractor::t, and arm_compute::support::cpp11::to_string().

134 {
135  // Print header
136  print_header(g, os);
137 
138  // Print nodes
139  print_nodes(g, os);
140 
141  // Print edges
142  print_edges(g, os);
143 
144  // Print footer
145  print_footer(g, os);
146 }

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