Public Types | Public Member Functions
InferenceEngine::ILayerExecImpl Interface Referenceabstract

This class provides interface for the implementation with the custom execution code. More...

#include <ie_iextension.h>

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

Public Types

using Ptr = std::shared_ptr< ILayerExecImpl >
 A shared pointer to the ILayerExecImpl interface.
 
- Public Types inherited from InferenceEngine::ILayerImpl
using Ptr = std::shared_ptr< ILayerImpl >
 A shared pointer to the ILayerImpl interface.
 

Public Member Functions

virtual ~ILayerExecImpl ()
 Destructor.
 
virtual StatusCode getSupportedConfigurations (std::vector< LayerConfig > &conf, ResponseDesc *resp) noexcept=0
 Gets all supported configurations for the current layer. More...
 
virtual StatusCode init (LayerConfig &config, ResponseDesc *resp) noexcept=0
 Initializes the implementation. More...
 
virtual StatusCode execute (std::vector< Blob::Ptr > &inputs, std::vector< Blob::Ptr > &outputs, ResponseDesc *resp) noexcept=0
 Execute method. More...
 
- Public Member Functions inherited from InferenceEngine::ILayerImpl
virtual ~ILayerImpl ()
 Destructor.
 

Detailed Description

This class provides interface for the implementation with the custom execution code.

Member Function Documentation

◆ execute()

virtual StatusCode InferenceEngine::ILayerExecImpl::execute ( std::vector< Blob::Ptr > &  inputs,
std::vector< Blob::Ptr > &  outputs,
ResponseDesc resp 
)
pure virtualnoexcept

Execute method.

Parameters
inputsVector of blobs with input memory
outputsVector of blobs with output memory
respResponse descriptor
Returns
Status code

◆ getSupportedConfigurations()

virtual StatusCode InferenceEngine::ILayerExecImpl::getSupportedConfigurations ( std::vector< LayerConfig > &  conf,
ResponseDesc resp 
)
pure virtualnoexcept

Gets all supported configurations for the current layer.

Parameters
confVector with supported configurations
respResponse descriptor
Returns
Status code

◆ init()

virtual StatusCode InferenceEngine::ILayerExecImpl::init ( LayerConfig config,
ResponseDesc resp 
)
pure virtualnoexcept

Initializes the implementation.

Parameters
configSelected supported configuration
respResponse descriptor
Returns
Status code

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