This class is a C++ helper to work with objects created using extensions. More...
#include <ie_extension.h>
Public Member Functions | |
ShapeInferExtension (const file_name_t &name) | |
Loads extension from a shared library. More... | |
void | GetVersion (const InferenceEngine::Version *&versionInfo) const noexcept override |
Gets the extension version information. More... | |
void | SetLogCallback (InferenceEngine::IErrorListener &listener) noexcept override |
Sets a log callback that is used to track what is going on inside. More... | |
void | Unload () noexcept override |
Cleans the resources up. | |
void | Release () noexcept override |
Does nothing since destruction is done via the regular mechanism. | |
StatusCode | getShapeInferTypes (char **&types, unsigned int &size, ResponseDesc *resp) noexcept override |
Gets the array with types of layers which are included in the extension. More... | |
StatusCode | getShapeInferImpl (IShapeInferImpl::Ptr &impl, const char *type, ResponseDesc *resp) noexcept override |
Gets shape propagation implementation for the given string-type of cnn Layer. More... | |
Protected Attributes | |
InferenceEngine::details::SOPointer< IShapeInferExtension > | actual |
A SOPointer instance to the loaded templated object. | |
This class is a C++ helper to work with objects created using extensions.
|
inlineexplicit |
Loads extension from a shared library.
name | Full or relative path to extension library |
|
inlineoverridevirtualnoexcept |
Gets shape propagation implementation for the given string-type of cnn Layer.
impl | the vector with implementations which is ordered by priority |
resp | response descriptor |
Implements InferenceEngine::IShapeInferExtension.
|
inlineoverridevirtualnoexcept |
Gets the array with types of layers which are included in the extension.
types | Types array |
size | Size of the types array |
resp | Response descriptor |
Implements InferenceEngine::IShapeInferExtension.
|
inlineoverridevirtualnoexcept |
Gets the extension version information.
versionInfo | A pointer to version info, set by the plugin |
Implements InferenceEngine::IShapeInferExtension.
|
inlineoverridevirtualnoexcept |
Sets a log callback that is used to track what is going on inside.
listener | Logging listener |
Implements InferenceEngine::IShapeInferExtension.