Public Member Functions | Protected Attributes
InferenceEngine::ShapeInferExtension Class Reference

This class is a C++ helper to work with objects created using extensions. More...

#include <ie_extension.h>

Inheritance diagram for InferenceEngine::ShapeInferExtension:
Inheritance graph
[legend]
Collaboration diagram for InferenceEngine::ShapeInferExtension:
Collaboration graph
[legend]

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< IShapeInferExtensionactual
 A SOPointer instance to the loaded templated object.
 

Detailed Description

This class is a C++ helper to work with objects created using extensions.

Constructor & Destructor Documentation

§ ShapeInferExtension()

InferenceEngine::ShapeInferExtension::ShapeInferExtension ( const file_name_t &  name)
inlineexplicit

Loads extension from a shared library.

Parameters
nameFull or relative path to extension library

Member Function Documentation

§ getShapeInferImpl()

StatusCode InferenceEngine::ShapeInferExtension::getShapeInferImpl ( IShapeInferImpl::Ptr &  impl,
const char *  type,
ResponseDesc resp 
)
inlineoverridevirtualnoexcept

Gets shape propagation implementation for the given string-type of cnn Layer.

Parameters
implthe vector with implementations which is ordered by priority
respresponse descriptor
Returns
status code

Implements InferenceEngine::IShapeInferExtension.

§ getShapeInferTypes()

StatusCode InferenceEngine::ShapeInferExtension::getShapeInferTypes ( char **&  types,
unsigned int &  size,
ResponseDesc resp 
)
inlineoverridevirtualnoexcept

Gets the array with types of layers which are included in the extension.

Parameters
typesTypes array
sizeSize of the types array
respResponse descriptor
Returns
Status code

Implements InferenceEngine::IShapeInferExtension.

§ GetVersion()

void InferenceEngine::ShapeInferExtension::GetVersion ( const InferenceEngine::Version *&  versionInfo) const
inlineoverridevirtualnoexcept

Gets the extension version information.

Parameters
versionInfoA pointer to version info, set by the plugin

Implements InferenceEngine::IShapeInferExtension.

§ SetLogCallback()

void InferenceEngine::ShapeInferExtension::SetLogCallback ( InferenceEngine::IErrorListener listener)
inlineoverridevirtualnoexcept

Sets a log callback that is used to track what is going on inside.

Parameters
listenerLogging listener

Implements InferenceEngine::IShapeInferExtension.


The documentation for this class was generated from the following file: