Removed ov::runtime namespace (#9781)

* Removed ov::runtime namespace

* clang-format

* Fixes

* template reference

* Fixes
This commit is contained in:
Ilya Lavrenov
2022-01-20 16:17:57 +03:00
committed by GitHub
parent 29c3b8e201
commit 8f3d030d79
362 changed files with 4231 additions and 4262 deletions

View File

@@ -80,10 +80,10 @@ For example, to compile a blob for inference on an Intel® Neural Compute Stick
### Import a Compiled Blob File to Your Application
To import a blob with the network from a generated file into your application, use the
`ov::runtime::Core::import_model` method:
`ov::Core::import_model` method:
```cpp
ov::runtime::Core ie;
ov::Core ie;
std::ifstream file{"model_name.blob"};
ov::runtime::CompiledModel compiled_model = ie.import_model(file, "MYRIAD", {});
ov::CompiledModel compiled_model = ie.import_model(file, "MYRIAD", {});
```

View File

@@ -744,7 +744,7 @@ int main(int argc, char* argv[]) {
executableNetwork.Export(outputFile);
}
} else {
ov::runtime::Core core;
ov::Core core;
if (!FLAGS_log_level.empty()) {
core.set_config({{CONFIG_KEY(LOG_LEVEL), FLAGS_log_level}}, FLAGS_d);
}