* Deprecate legacy Core and Allocator * Suppress blob warnings * Suppress some warnings * Suppress more warnings * Suppress blob allocator * Suppress more warnings * Suppress more warnings * Fixed compilation issues for Template plugin * Fixed some warnings * Fixed tests * Add WA for benchmark_app * Suppress #warning for developer package * Rename define * Disable warnings for compile_tool and benchmark_app * Suppress Windows warnings * Suppress more warnings for Windows * Fixed compile_tool install * Added message for VS * Fixed snippets and throw only first error
13 lines
290 B
C++
13 lines
290 B
C++
#include <openvino/runtime/core.hpp>
|
|
|
|
int main() {
|
|
//! [part1]
|
|
ov::Core core;
|
|
auto network = core.read_model("sample.xml");
|
|
auto exec_network = core.compile_model(network, "CPU");
|
|
auto inference_precision = exec_network.get_property(ov::hint::inference_precision);
|
|
//! [part1]
|
|
|
|
return 0;
|
|
}
|