Public Types | Public Member Functions
InferenceEngine::ExecutableNetwork Class Reference

wrapper over IExecutableNetwork More...

#include <ie_executable_network.hpp>

Public Types

using Ptr = std::shared_ptr< ExecutableNetwork >
 

Public Member Functions

 ExecutableNetwork (IExecutableNetwork::Ptr actual, InferenceEnginePluginPtr plg={})
 
ConstOutputsDataMap GetOutputsInfo () const
 Wraps original method IExecutableNetwork::getOutputsInfo.
 
ConstInputsDataMap GetInputsInfo () const
 Wraps original method IExecutableNetwork::getInputsInfo.
 
void reset (IExecutableNetwork::Ptr newActual)
 reset owned object to new pointer, essential for cases when simultaneously loaded networks not expected More...
 
InferRequest CreateInferRequest ()
 Wraps original method IExecutableNetwork::CreateInferRequest.
 
InferRequest::Ptr CreateInferRequestPtr ()
 Wraps original method IExecutableNetwork::CreateInferRequestPtr. More...
 
void Export (const std::string &modelFileName)
 Exports the current executable network so it can be used later in the Import() main API. More...
 
void GetMappedTopology (std::map< std::string, std::vector< PrimitiveInfo::Ptr >> &deployedTopology)
 Gets the mapping of IR layer names to implemented kernels. More...
 
 operator IExecutableNetwork::Ptr & ()
 
CNNNetwork GetExecGraphInfo ()
 Get executable graph information from a plugin represented as CNNNetwork. More...
 
std::vector< MemoryStateQueryState ()
 see original function InferenceEngine::IExecutableNetwork::QueryState
 
void SetConfig (const std::map< std::string, Parameter > &config)
 Sets configuration for current executable network. More...
 
Parameter GetConfig (const std::string &name) const
 Gets configuration dedicated to plugin behaviour. More...
 
Parameter GetMetric (const std::string &name) const
 Gets general runtime metric for dedicated hardware. More...
 

Detailed Description

wrapper over IExecutableNetwork

Member Function Documentation

§ CreateInferRequestPtr()

InferRequest::Ptr InferenceEngine::ExecutableNetwork::CreateInferRequestPtr ( )
inline

Wraps original method IExecutableNetwork::CreateInferRequestPtr.

Returns
shared pointer on InferRequest object

§ Export()

void InferenceEngine::ExecutableNetwork::Export ( const std::string &  modelFileName)
inline

Exports the current executable network so it can be used later in the Import() main API.

Parameters
modelFileNameFull path to the location of the exported file
respOptional: pointer to an already allocated object to contain information in case of failure

§ GetConfig()

Parameter InferenceEngine::ExecutableNetwork::GetConfig ( const std::string &  name) const
inline

Gets configuration dedicated to plugin behaviour.

Parameters
name- config key, can be found in ie_plugin_config.hpp
options- configuration details for coonfig value
result- value of config corresponding to config key
respPointer to the response message that holds a description of an error if any occurred

§ GetExecGraphInfo()

CNNNetwork InferenceEngine::ExecutableNetwork::GetExecGraphInfo ( )
inline

Get executable graph information from a plugin represented as CNNNetwork.

Returns
CNNetwork containing Executable Graph Info

§ GetMappedTopology()

void InferenceEngine::ExecutableNetwork::GetMappedTopology ( std::map< std::string, std::vector< PrimitiveInfo::Ptr >> &  deployedTopology)
inline

Gets the mapping of IR layer names to implemented kernels.

Parameters
deployedTopologyMap of PrimitiveInfo objects that represent the deployed topology
respOptional: pointer to an already allocated object to contain information in case of failure

§ GetMetric()

Parameter InferenceEngine::ExecutableNetwork::GetMetric ( const std::string &  name) const
inline

Gets general runtime metric for dedicated hardware.

Parameters
name- metric name to request
options- configuration details for metric
result- metric value corresponding to metric key
resp- Pointer to the response message that holds a description of an error if any occurred
Returns
code of the operation. OK if succeeded

§ operator IExecutableNetwork::Ptr &()

InferenceEngine::ExecutableNetwork::operator IExecutableNetwork::Ptr & ( )
inline

cast operator is used when this wrapper initialized by LoadNetwork

Returns

§ reset()

void InferenceEngine::ExecutableNetwork::reset ( IExecutableNetwork::Ptr  newActual)
inline

reset owned object to new pointer, essential for cases when simultaneously loaded networks not expected

Parameters
actualactual pointed object

§ SetConfig()

void InferenceEngine::ExecutableNetwork::SetConfig ( const std::map< std::string, Parameter > &  config)
inline

Sets configuration for current executable network.

Parameters
configMap of pairs: (config parameter name, config parameter value)
respPointer to the response message that holds a description of an error if any occurred

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