Public Types | Public Member Functions
InferenceEngine::ILayerImplFactory Class Referenceabstract

This class provides interface for extension factories. More...

#include <ie_iextension.h>

Public Types

using Ptr = std::shared_ptr< ILayerImplFactory >
 
using ImplCreator = std::function< ILayerImpl *()>
 

Public Member Functions

virtual ~ILayerImplFactory ()=default
 Destructor.
 
virtual StatusCode getShapes (const std::vector< TensorDesc > &, std::vector< TensorDesc > &, ResponseDesc *) noexcept
 Sets output shapes by input shapes. More...
 
virtual StatusCode getImplementations (std::vector< ILayerImpl::Ptr > &impls, ResponseDesc *resp) noexcept=0
 Gets all possible implementations for the given cnn Layer. More...
 

Detailed Description

This class provides interface for extension factories.

Member Function Documentation

§ getImplementations()

virtual StatusCode InferenceEngine::ILayerImplFactory::getImplementations ( std::vector< ILayerImpl::Ptr > &  impls,
ResponseDesc resp 
)
pure virtualnoexcept

Gets all possible implementations for the given cnn Layer.

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

§ getShapes()

virtual StatusCode InferenceEngine::ILayerImplFactory::getShapes ( const std::vector< TensorDesc > &  ,
std::vector< TensorDesc > &  ,
ResponseDesc  
)
inlinevirtualnoexcept

Sets output shapes by input shapes.

Deprecated:
Implement IShapeInferImpl extension for shape inference.
Parameters
inShapesShapes of all inputs coming in this layer
outShapesGenerated shapes coming from this layer given the input
respResponse descriptor
Returns
Status code

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