Compute Library
DotGraphPrinter Class Referencefinal

Graph printer interface. More...

#include <DotGraphPrinter.h>

Collaboration diagram for DotGraphPrinter:

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 

Print graph.

[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);
146  // Print nodes
147  print_nodes(g, os);
149  // Print edges
150  print_edges(g, os);
152  // Print footer
153  print_footer(g, os);
154 }

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