wrapper over IExecutableNetwork
More...
#include <ie_executable_network.hpp>
§ 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
-
| modelFileName | Full path to the location of the exported file |
| resp | Optional: 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 |
| resp | Pointer 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
-
| deployedTopology | Map of PrimitiveInfo objects that represent the deployed topology |
| resp | Optional: 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 &()
cast operator is used when this wrapper initialized by LoadNetwork
- Returns
§ reset()
reset owned object to new pointer, essential for cases when simultaneously loaded networks not expected
- Parameters
-
| actual | actual pointed object |
§ SetConfig()
| void InferenceEngine::ExecutableNetwork::SetConfig |
( |
const std::map< std::string, Parameter > & |
config | ) |
|
|
inline |
Sets configuration for current executable network.
- Parameters
-
| config | Map of pairs: (config parameter name, config parameter value) |
| resp | Pointer 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: