Files
openvino/docs/nGraph_DG/nGraph_debug_capabilities.md
Ilya Churaev 55fb542bc6 Added OpenVINO util library (#7481)
* Added OpenVINO util library

* Fixed code style

* Fixed build

* Fixed build

* Added methods from IE utils

* Fixed style

* Fixed Windows build

* Fixed linux build

* Fixed windows build

* Try to fix dladdr

* Try to fix windows

* Fixed typo

* Fixed detection dynamic libs from static library

* Revert some changes

* Revert changes in windows loader

* Revert network reader

* Removed some methods from plugin API

* Fixed fluid tests

* Fixed typo

* Fixed include

* Try to fix CI

* Try to fix centos

* fix typo
2021-09-20 18:37:32 +03:00

664 B

nGraph Debug Capabilities

nGraph representation provides an API to get detailed information about the graph structure.

To receive additional messages about applied graph modifications, rebuild the nGraph library with the -DOPENVINO_DEBUG_ENABLE=ON option.

To visualize the nGraph function to the xDot format or to an image file, use the ngraph::pass::VisualizeTree graph transformation pass:

#include <ngraph/pass/visualize_tree.hpp>

std::shared_ptr<ngraph::Function> nGraph;
...
ngraph::pass::VisualizeTree("after.png").run_on_function(nGraph);     // Visualize the nGraph function to an image