Files
openvino/docs/snippets/Bfloat16Inference2.cpp

12 lines
219 B
C++
Raw Normal View History

#include <inference_engine.hpp>
int main() {
using namespace InferenceEngine;
//! [part2]
InferenceEngine::Core core;
core.SetConfig({ { CONFIG_KEY(ENFORCE_BF16), CONFIG_VALUE(NO) } }, "CPU");
//! [part2]
return 0;
}