Public Member Functions
InferenceEngine::IShapeInferExtension Class Referenceabstract

This class is the reader extension interface to provide implementation for shape propagation. More...

#include <ie_iextension.h>

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

Public Member Functions

virtual void SetLogCallback (InferenceEngine::IErrorListener &listener) noexcept
 Sets logging callback. More...
 
virtual void GetVersion (const InferenceEngine::Version *&versionInfo) const noexcept=0
 Gets extension version information and stores in versionInfo. More...
 
virtual void Unload () noexcept=0
 Cleans resources up.
 
virtual StatusCode getShapeInferTypes (char **&types, unsigned int &size, ResponseDesc *resp) noexcept=0
 Fills passed array with types of layers which shape infer implementations are included in the extension. More...
 
virtual StatusCode getShapeInferImpl (IShapeInferImpl::Ptr &impl, const char *type, ResponseDesc *resp) noexcept=0
 Gets shape propagation implementation for the given string-type of CNNLayer. More...
 

Detailed Description

This class is the reader extension interface to provide implementation for shape propagation.

Deprecated:
Implement a custom ngraph operation derived from ngraph::op::Op in IExtension implementation

Member Function Documentation

§ getShapeInferImpl()

virtual StatusCode InferenceEngine::IShapeInferExtension::getShapeInferImpl ( IShapeInferImpl::Ptr impl,
const char *  type,
ResponseDesc resp 
)
pure virtualnoexcept

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

Deprecated:
Implement ngraph::op::Op::validate_and_infer_types method in a custom ngraph operation. The method will be removed in 2021.1 release.
Parameters
implthe vector with implementations which is ordered by priority
typeA type of CNNLayer
respresponse descriptor
Returns
status code

Implemented in InferenceEngine::IExtension, InferenceEngine::ShapeInferExtension, and InferenceEngine::Extension.

§ getShapeInferTypes()

virtual StatusCode InferenceEngine::IShapeInferExtension::getShapeInferTypes ( char **&  types,
unsigned int &  size,
ResponseDesc resp 
)
pure virtualnoexcept

Fills passed array with types of layers which shape infer implementations are included in the extension.

Deprecated:
Implement ngraph::op::Op::validate_and_infer_types method in a custom ngraph operation. The method will be removed in 2021.1 release.
Parameters
typesArray to store the layer types
sizeSize of the layer types array
respResponse descriptor
Returns
Status code

Implemented in InferenceEngine::IExtension, InferenceEngine::ShapeInferExtension, and InferenceEngine::Extension.

§ GetVersion()

virtual void InferenceEngine::IShapeInferExtension::GetVersion ( const InferenceEngine::Version *&  versionInfo) const
pure virtualnoexcept

Gets extension version information and stores in versionInfo.

Parameters
versionInfoPointer to version info, will be set by plugin

Implemented in InferenceEngine::ShapeInferExtension, InferenceEngine::Extension, and TemplateExtension::Extension.

§ SetLogCallback()

virtual void InferenceEngine::IShapeInferExtension::SetLogCallback ( InferenceEngine::IErrorListener listener)
inlinevirtualnoexcept

Sets logging callback.

Deprecated:
IErrorListener is not used anymore. StatusCode is provided in case of unexpected situations The method will be removed in 2021.1 release.

Logging is used to track what is going on inside.

Parameters
listenerLogging sink

Reimplemented in InferenceEngine::ShapeInferExtension, and InferenceEngine::Extension.


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