* 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
15 lines
350 B
C++
15 lines
350 B
C++
#include <inference_engine.hpp>
|
|
|
|
int main() {
|
|
using namespace InferenceEngine;
|
|
//! [part0]
|
|
InferenceEngine::Core core;
|
|
// Load CPU extension as a shared library
|
|
auto extension_ptr = make_so_pointer<InferenceEngine::IExtension>("<shared lib path>");
|
|
// Add extension to the CPU device
|
|
core.AddExtension(extension_ptr, "CPU");
|
|
//! [part0]
|
|
|
|
return 0;
|
|
}
|