DOCS: added code snippets compilation and fixes (#2606)

This commit is contained in:
Ilya Lavrenov
2020-10-10 11:19:16 +03:00
committed by GitHub
parent 00faee86e0
commit daf8bc6164
33 changed files with 189 additions and 158 deletions

View File

@@ -4,11 +4,8 @@ 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]