Removed ov::runtime namespace (#9781)
* Removed ov::runtime namespace * clang-format * Fixes * template reference * Fixes
This commit is contained in:
@@ -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", {});
|
||||
```
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user