Files
openvino/docs/snippets/Graph_debug_capabilities1.cpp
2021-06-01 16:31:29 +03:00

14 lines
263 B
C++

#include <ie_core.hpp>
#include <ngraph/function.hpp>
int main() {
using namespace InferenceEngine;
//! [part1]
std::shared_ptr<ngraph::Function> nGraph;
// ...
CNNNetwork network(nGraph);
network.serialize("test_ir.xml", "test_ir.bin");
//! [part1]
return 0;
}