Compute Library
 22.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 72 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 141 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().

142 {
143  // Print header
144  print_header(g, os);
145 
146  // Print nodes
147  print_nodes(g, os);
148 
149  // Print edges
150  print_edges(g, os);
151 
152  // Print footer
153  print_footer(g, os);
154 }

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