Files
openvino/docs/snippets/cpu/Bfloat16Inference2.cpp
T
Vladimir Paramuzov 2201a5f83e Added common ov::execution_mode hint (#15048)
* [GPU] Added common exec mode hint and gpu support

* Add ov::inference precision and update usages. Deprecate ov::hint::inference_precision property

* [GPU] Execution mode tests and fixes

* Fixed code style

* Moved execution_mode test to common. Fixes for python API

* Remove deprecations for hint::inference_precision and just keep both

* Fix test
2023-01-18 20:13:00 +04:00

12 lines
205 B
C++

#include <openvino/runtime/core.hpp>
int main() {
using namespace InferenceEngine;
//! [part2]
ov::Core core;
core.set_property("CPU", ov::inference_precision(ov::element::f32));
//! [part2]
return 0;
}