Files
openvino/docs/snippets/Graph_debug_capabilities0.cpp
Ilya Churaev ec6f57872f Renamed ov::Function to ov::Model (#9051)
* Renamed ov::Function to ov::Model

* Fixed all for macos

* Fixed build

* Fixed build

* Revert changes in GPU plugin

* Fixed ngraphFunctions

* Fixed all for mac

* Fixed new test

* Fixed if for Windows

* Fixed unit tests and renamed Function in python API

* Fixed code style

* Fixed import

* Fixed conflict

* Fixed merge issues
2021-12-10 13:08:38 +03:00

14 lines
333 B
C++

#include <ie_core.hpp>
#include <openvino/core/model.hpp>
#include <openvino/pass/visualize_tree.hpp>
int main() {
using namespace InferenceEngine;
//! [part0]
std::shared_ptr<ov::Model> model;
// ...
ov::pass::VisualizeTree("after.png").run_on_model(model); // Visualize the nGraph function to an image
//! [part0]
return 0;
}