DOCS: added code snippets compilation and fixes (#2606)
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user