Inference Engine provides an InferenceEngine::IExtension interface, which defines the interface for Inference Engine Extension libraries. All extension libraries should be inherited from this interface.
Based on that, declaration of an extension class can look as follows:
The extension library should contain and export the method InferenceEngine::CreateExtension, which creates an Extension
class:
Also, an Extension
object should implement the following methods:
Implement the InferenceEngine::IExtension::getOpSets method if the extension contains custom layers. Read the guide about custom operations for more information.
To understand how integrate execution kernels to the extension library, read the guide about development of custom CPU kernels.