2020-09-22 18:01:48 +03:00
|
|
|
#include <inference_engine.hpp>
|
|
|
|
|
#include <ngraph/ngraph.hpp>
|
2020-10-10 11:19:16 +03:00
|
|
|
#include "onnx_import/onnx.hpp"
|
2020-09-22 18:01:48 +03:00
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
//! [part3]
|
2020-10-10 11:19:16 +03:00
|
|
|
const char * resnet50_path = "resnet50/model.onnx";
|
2020-09-22 18:01:48 +03:00
|
|
|
const std::shared_ptr<ngraph::Function> ng_function = ngraph::onnx_import::import_onnx_model(resnet50_path);
|
|
|
|
|
//! [part3]
|
|
|
|
|
return 0;
|
|
|
|
|
}
|