* Update md files. Add cpp in docs/examples * Normalize all the line endings * Fix block_id in snippets * Fix utf-8 encoding * Add new folder for snippets * Fix issues with compiling code from snippets * Added conteiner iterator fix
17 lines
343 B
C++
17 lines
343 B
C++
#include <inference_engine.hpp>
|
|
|
|
int main() {
|
|
using namespace InferenceEngine;
|
|
//! [part1]
|
|
InferenceEngine::Core core;
|
|
|
|
auto network = core.ReadNetwork("sample.xml");
|
|
|
|
auto exeNetwork = core.LoadNetwork(network, "CPU");
|
|
|
|
auto enforceBF16 = exeNetwork.GetConfig(PluginConfigParams::KEY_ENFORCE_BF16).as<std::string>();
|
|
//! [part1]
|
|
|
|
return 0;
|
|
}
|