Small fixes in extensions docs (#8934)

This commit is contained in:
Ilya Lavrenov 2021-11-30 22:13:49 +03:00 committed by GitHub
parent 13f3f351b7
commit 1b0ff2979c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ Based on that, the declaration of an extension class can look as follows:
@snippet template_extension/old/extension.hpp extension:header
The extension library should contain and export the InferenceEngine::CreateExtension method, which creates an `Extension` class:
The extension library should use `IE_DEFINE_EXTENSION_CREATE_FUNCTION` macro to export a function, which creates an `Extension` class:
@snippet template_extension/old/extension.cpp extension:CreateExtension

View File

@ -2,7 +2,7 @@
Inference Engine Extensibility API enables you to add support of custom operations to the Inference Engine.
Extension should contain operation sets with custom operations and execution kernels for custom operations.
Physically, an extension library can be represented as a dynamic library exporting the single `CreateExtension` function
Physically, an extension library can be represented as a dynamic library exporting the single function
that creates a new extension instance.
To load the Extensibility library to the `InferenceEngine::Core` object, use the