An internal API of executable network to be implemented by plugin, which is used in ExecutableNetworkBase forwarding mechanism. More...
#include <ie_iexecutable_network_internal.hpp>
Public Types | |
typedef std::shared_ptr< IExecutableNetworkInternal > | Ptr |
A shared pointer to IExecutableNetworkInternal interface. | |
Public Member Functions | |
virtual | ~IExecutableNetworkInternal ()=default |
Destroys the object. | |
virtual ConstOutputsDataMap | GetOutputsInfo () const =0 |
Gets the Executable network output Data node information. The received info is stored in the given Data node. This method need to be called to find output names for using them later during filling of a map of blobs passed later to InferenceEngine::IInferencePlugin::Infer() More... | |
virtual ConstInputsDataMap | GetInputsInfo () const =0 |
Gets the Executable network input Data node information. The received info is stored in the given InputsDataMap object. This method need to be called to find out input names for using them later during filling of a map of blobs passed later to InferenceEngine::IInferencePlugin::Infer() More... | |
virtual IInferRequest::Ptr | CreateInferRequest ()=0 |
Create an inference request object used to infer the network Note: the returned request will have allocated input and output blobs (that can be changed later) More... | |
virtual void | Export (const std::string &modelFileName)=0 |
Export the current created executable network so it can be used later in the Import() main API. More... | |
virtual void | Export (std::ostream &networkModel)=0 |
Export the current created executable network so it can be used later in the Import() main API. More... | |
virtual CNNNetwork | GetExecGraphInfo ()=0 |
Get executable graph information from a device. More... | |
virtual std::vector< IVariableStateInternal::Ptr > | QueryState ()=0 |
Queries memory states. More... | |
virtual void | SetConfig (const std::map< std::string, Parameter > &config)=0 |
Sets configuration for current executable network. More... | |
virtual Parameter | GetConfig (const std::string &name) const =0 |
Gets configuration dedicated to plugin behaviour. More... | |
virtual Parameter | GetMetric (const std::string &name) const =0 |
Gets general runtime metric for dedicated hardware. More... | |
virtual RemoteContext::Ptr | GetContext () const =0 |
Gets the remote context. More... | |
An internal API of executable network to be implemented by plugin, which is used in ExecutableNetworkBase forwarding mechanism.
|
pure virtual |
Create an inference request object used to infer the network Note: the returned request will have allocated input and output blobs (that can be changed later)
Implemented in InferenceEngine::ExecutableNetworkThreadSafeDefault, and InferenceEngine::ExecutableNetworkThreadSafeAsyncOnly.
|
pure virtual |
Export the current created executable network so it can be used later in the Import() main API.
modelFileName | - path to the location of the exported file |
Implemented in InferenceEngine::ExecutableNetworkInternal.
|
pure virtual |
Export the current created executable network so it can be used later in the Import() main API.
networkModel | - Reference to network model output stream |
Implemented in InferenceEngine::ExecutableNetworkInternal.
|
pure virtual |
Gets configuration dedicated to plugin behaviour.
name | A config key, can be found in ie_plugin_config.hpp |
Implemented in InferenceEngine::ExecutableNetworkInternal.
|
pure virtual |
Gets the remote context.
Implemented in InferenceEngine::ExecutableNetworkInternal.
|
pure virtual |
Get executable graph information from a device.
Implemented in InferenceEngine::ExecutableNetworkInternal.
|
pure virtual |
Gets the Executable network input Data node information. The received info is stored in the given InputsDataMap object. This method need to be called to find out input names for using them later during filling of a map of blobs passed later to InferenceEngine::IInferencePlugin::Infer()
Implemented in InferenceEngine::ExecutableNetworkInternal.
|
pure virtual |
Gets general runtime metric for dedicated hardware.
name | A metric name to request |
Implemented in InferenceEngine::ExecutableNetworkInternal.
|
pure virtual |
Gets the Executable network output Data node information. The received info is stored in the given Data node. This method need to be called to find output names for using them later during filling of a map of blobs passed later to InferenceEngine::IInferencePlugin::Infer()
Implemented in InferenceEngine::ExecutableNetworkInternal.
|
pure virtual |
Queries memory states.
Implemented in InferenceEngine::ExecutableNetworkInternal.
|
pure virtual |
Sets configuration for current executable network.
config | Map of pairs: (config parameter name, config parameter value) |
Implemented in InferenceEngine::ExecutableNetworkInternal.