wrapper over IExecutableNetwork More...
#include <ie_executable_network.hpp>
Public Types | |
using | Ptr = std::shared_ptr< ExecutableNetwork > |
A smart pointer to the ExecutableNetwork object. | |
Public Member Functions | |
ExecutableNetwork ()=default | |
Default constructor. | |
~ExecutableNetwork () | |
Destructor. | |
ExecutableNetwork (IExecutableNetwork::Ptr actual, details::SharedObjectLoader::Ptr plg={}) | |
Constructs ExecutableNetwork from the initialized shared_pointer. More... | |
ConstOutputsDataMap | GetOutputsInfo () const |
Gets the Executable network output Data node information. More... | |
ConstInputsDataMap | GetInputsInfo () const |
Gets the executable network input Data node information. More... | |
void | reset (IExecutableNetwork::Ptr newActual) |
reset owned object to new pointer. More... | |
InferRequest | CreateInferRequest () |
Creates an inference request object used to infer the network. More... | |
InferRequest::Ptr | CreateInferRequestPtr () |
Creates an inference request object used to infer the network. More... | |
void | Export (const std::string &modelFileName) |
Exports the current executable network. More... | |
void | Export (std::ostream &networkModel) |
Exports the current executable network. More... | |
operator IExecutableNetwork::Ptr & () | |
cast operator is used when this wrapper initialized by LoadNetwork More... | |
CNNNetwork | GetExecGraphInfo () |
Get executable graph information from a device. More... | |
std::vector< MemoryState > | QueryState () |
Gets state control interface for given executable network. More... | |
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 for current executable network. More... | |
Parameter | GetMetric (const std::string &name) const |
Gets general runtime metric for an executable network. More... | |
RemoteContext::Ptr | GetContext () const |
Returns pointer to plugin-specific shared context on remote accelerator device that was used to create this ExecutableNetwork. More... | |
wrapper over IExecutableNetwork
|
inlineexplicit |
Constructs ExecutableNetwork from the initialized shared_pointer.
actual | Initialized shared pointer |
plg | Plugin to use |
|
inline |
Creates an inference request object used to infer the network.
Wraps IExecutableNetwork::CreateInferRequest.
|
inline |
Creates an inference request object used to infer the network.
Wraps IExecutableNetwork::CreateInferRequest.
|
inline |
Exports the current executable network.
Wraps IExecutableNetwork::Export.
modelFileName | Full path to the location of the exported file |
|
inline |
Exports the current executable network.
Wraps IExecutableNetwork::Export.
networkModel | network model output stream |
|
inline |
Gets configuration for current executable network.
Wraps IExecutableNetwork::GetConfig
name | - config key, can be found in ie_plugin_config.hpp |
|
inline |
Returns pointer to plugin-specific shared context on remote accelerator device that was used to create this ExecutableNetwork.
|
inline |
Get executable graph information from a device.
Wraps IExecutableNetwork::GetExecGraphInfo.
|
inline |
Gets the executable network input Data node information.
Wraps IExecutableNetwork::GetInputsInfo
|
inline |
Gets general runtime metric for an executable network.
Wraps IExecutableNetwork::GetMetric
name | - metric name to request |
|
inline |
Gets the Executable network output Data node information.
Wraps IExecutableNetwork::GetOutputsInfo.
|
inline |
cast operator is used when this wrapper initialized by LoadNetwork
|
inline |
Gets state control interface for given executable network.
Wraps IExecutableNetwork::QueryState
|
inline |
reset owned object to new pointer.
Eessential for cases when simultaneously loaded networks not expected.
newActual | actual pointed object |
|
inline |
Sets configuration for current executable network.
Wraps IExecutableNetwork::SetConfig.
config | Map of pairs: (config parameter name, config parameter value) |