Public Member Functions
InferenceEngine::IExtension Class Reference

This class is the main extension interface. More...

#include <ie_iextension.h>

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

Public Member Functions

virtual StatusCode getFactoryFor (ILayerImplFactory *&factory, const CNNLayer *cnnLayer, ResponseDesc *resp) noexcept
 Provides a factory for a specified CNNLayer. More...
 
virtual StatusCode getPrimitiveTypes (char **&types, unsigned int &size, ResponseDesc *resp) noexcept
 Fills passed array with types of layers which kernel implementations are included in the extension. More...
 
StatusCode getShapeInferTypes (char **&, unsigned int &, ResponseDesc *) noexcept override
 Fills passed array with types of layers which shape infer implementations are included in the extension. More...
 
StatusCode getShapeInferImpl (IShapeInferImpl::Ptr &, const char *, ResponseDesc *) noexcept override
 Gets shape propagation implementation for the given string-type of CNNLayer. More...
 
virtual std::map< std::string, ngraph::OpSet > getOpSets ()
 Returns operation sets This method throws an exception if it was not implemented. More...
 
virtual std::vector< std::string > getImplTypes (const std::shared_ptr< ngraph::Node > &node)
 Returns vector of implementation types. More...
 
virtual ILayerImpl::Ptr getImplementation (const std::shared_ptr< ngraph::Node > &node, const std::string &implType)
 Returns implementation for specific nGraph op. More...
 
- Public Member Functions inherited from InferenceEngine::IShapeInferExtension
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.
 

Detailed Description

This class is the main extension interface.

Member Function Documentation

§ getFactoryFor()

virtual StatusCode InferenceEngine::IExtension::getFactoryFor ( ILayerImplFactory *&  factory,
const CNNLayer *  cnnLayer,
ResponseDesc resp 
)
inlinevirtualnoexcept

Provides a factory for a specified CNNLayer.

Deprecated:
Use IExtension::getImplementation to get a concrete implementation
Parameters
factoryA factory returned from an extension plugin
cnnLayerA CNNLayer object to provide factory for
respResponse descriptor
Returns
Status code

Reimplemented in InferenceEngine::Extension.

§ getImplementation()

virtual ILayerImpl::Ptr InferenceEngine::IExtension::getImplementation ( const std::shared_ptr< ngraph::Node > &  node,
const std::string &  implType 
)
inlinevirtual

Returns implementation for specific nGraph op.

Parameters
nodeshared pointer to nGraph op
implTypeimplementation type
Returns
shared pointer to implementation

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

§ getImplTypes()

virtual std::vector<std::string> InferenceEngine::IExtension::getImplTypes ( const std::shared_ptr< ngraph::Node > &  node)
inlinevirtual

Returns vector of implementation types.

Parameters
nodeshared pointer to nGraph op
Returns
vector of strings

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

§ getOpSets()

virtual std::map<std::string, ngraph::OpSet> InferenceEngine::IExtension::getOpSets ( )
virtual

Returns operation sets This method throws an exception if it was not implemented.

Returns
map of opset name to opset

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

§ getPrimitiveTypes()

virtual StatusCode InferenceEngine::IExtension::getPrimitiveTypes ( char **&  types,
unsigned int &  size,
ResponseDesc resp 
)
inlinevirtualnoexcept

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

Deprecated:
Use IExtension::getImplTypes to get implementation types for a particular node
Parameters
typesArray to store the layer types
sizeSize of the layer types array
respResponse descriptor
Returns
Status code

Reimplemented in InferenceEngine::Extension.

§ getShapeInferImpl()

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

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.
Parameters
implthe vector with implementations which is ordered by priority
typeA type of CNNLayer
respresponse descriptor
Returns
status code

Implements InferenceEngine::IShapeInferExtension.

§ getShapeInferTypes()

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

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.
Parameters
typesArray to store the layer types
sizeSize of the layer types array
respResponse descriptor
Returns
Status code

Implements InferenceEngine::IShapeInferExtension.


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