Functions
ExecutableNetwork

Functions

IEStatusCode ie_exec_network_free (ie_executable_network_t **ie_exec_network)
 Releases memory occupied by ExecutableNetwork. More...
 
IEStatusCode ie_exec_network_create_infer_request (ie_executable_network_t *ie_exec_network, ie_infer_request_t **request)
 Creates an inference request instance used to infer the network. The created request has allocated input and output blobs (that can be changed later). Use the ie_infer_request_free() method to free memory. More...
 
IEStatusCode ie_exec_network_get_metric (const ie_executable_network_t *ie_exec_network, const char *metric_name, ie_param_t *param_result)
 Gets general runtime metric for an executable network. It can be network name, actual device ID on which executable network is running or all other properties which cannot be changed dynamically. More...
 
IEStatusCode ie_exec_network_set_config (ie_executable_network_t *ie_exec_network, const ie_config_t *param_config)
 Sets configuration for current executable network. Currently, the method can be used when the network run on the Multi device and the configuration paramter is only can be "MULTI_DEVICE_PRIORITIES". More...
 
IEStatusCode ie_exec_network_get_config (const ie_executable_network_t *ie_exec_network, const char *metric_config, ie_param_t *param_result)
 Gets configuration for current executable network. The method is responsible to extract information which affects executable network execution. More...
 

Detailed Description

Set of functions representing of neural networks been loaded to device.

Function Documentation

§ ie_exec_network_create_infer_request()

IEStatusCode ie_exec_network_create_infer_request ( ie_executable_network_t *  ie_exec_network,
ie_infer_request_t **  request 
)

Creates an inference request instance used to infer the network. The created request has allocated input and output blobs (that can be changed later). Use the ie_infer_request_free() method to free memory.

Parameters
ie_exec_networkA pointer to ie_executable_network_t instance.
requestA pointer to the newly created ie_infer_request_t instance
Returns
Status code of the operation: OK(0) for success.

§ ie_exec_network_free()

IEStatusCode ie_exec_network_free ( ie_executable_network_t **  ie_exec_network)

Releases memory occupied by ExecutableNetwork.

Parameters
ie_exec_networkA pointer to the ExecutableNetwork to free memory. return Status code of the operation: OK(0) for success.

§ ie_exec_network_get_config()

IEStatusCode ie_exec_network_get_config ( const ie_executable_network_t *  ie_exec_network,
const char *  metric_config,
ie_param_t param_result 
)

Gets configuration for current executable network. The method is responsible to extract information which affects executable network execution.

Parameters
ie_exec_networkA pointer to ie_executable_network_t instance.
metric_configA configuration parameter name to request.
param_resultA configuration value corresponding to a configuration paramter name.
Returns
Status code of the operation: OK(0) for success.

§ ie_exec_network_get_metric()

IEStatusCode ie_exec_network_get_metric ( const ie_executable_network_t *  ie_exec_network,
const char *  metric_name,
ie_param_t param_result 
)

Gets general runtime metric for an executable network. It can be network name, actual device ID on which executable network is running or all other properties which cannot be changed dynamically.

Parameters
ie_exec_networkA pointer to ie_executable_network_t instance.
metric_nameA metric name to request.
param_resultA metric value corresponding to the metric_name.
Returns
Status code of the operation: OK(0) for success.

§ ie_exec_network_set_config()

IEStatusCode ie_exec_network_set_config ( ie_executable_network_t *  ie_exec_network,
const ie_config_t param_config 
)

Sets configuration for current executable network. Currently, the method can be used when the network run on the Multi device and the configuration paramter is only can be "MULTI_DEVICE_PRIORITIES".

Parameters
ie_exec_networkA pointer to ie_executable_network_t instance.
param_configA pointer to device configuration..
Returns
Status code of the operation: OK(0) for success.