An internal API of executable network to be implemented by plugin,. More...
#include <ie_iexecutable_network_internal.hpp>
Public Types | |
| using | Ptr = std::shared_ptr< IExecutableNetworkInternal > |
| A shared pointer to IExecutableNetworkInternal interface. | |
Public Member Functions | |
| virtual void | setNetworkInputs (const InputsDataMap &networkInputs) |
| Sets the network inputs info. More... | |
| virtual void | setNetworkOutputs (const OutputsDataMap &networkOutputs) |
| Sets the network outputs data. More... | |
| virtual ConstOutputsDataMap | GetOutputsInfo () const |
| Gets the Executable network output Data node information. The received info is stored in the given Data node. More... | |
| virtual ConstInputsDataMap | GetInputsInfo () const |
| Gets the Executable network input Data node information. The received info is stored in the given InputsDataMap object. More... | |
| virtual std::shared_ptr< IInferRequestInternal > | CreateInferRequest () |
| 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) |
| Export the current created executable network so it can be used later in the Import() main API. More... | |
| virtual void | Export (std::ostream &networkModel) |
| Export the current created executable network so it can be used later in the Import() main API. More... | |
| virtual CNNNetwork | GetExecGraphInfo () |
| Get executable graph information from a device. More... | |
| virtual std::vector< std::shared_ptr< IVariableStateInternal > > | QueryState () |
| Queries memory states. More... | |
| virtual void | SetPointerToPlugin (const std::shared_ptr< IInferencePlugin > &plugin) |
| Sets the pointer to plugin internal. More... | |
| virtual void | SetConfig (const std::map< std::string, Parameter > &config) |
| Sets configuration for current executable network. More... | |
| virtual Parameter | GetConfig (const std::string &name) const |
| Gets configuration dedicated to plugin behaviour. More... | |
| virtual Parameter | GetMetric (const std::string &name) const |
| Gets general runtime metric for dedicated hardware. More... | |
| virtual std::shared_ptr< RemoteContext > | GetContext () const |
| Gets the remote context. More... | |
Protected Member Functions | |
| virtual std::shared_ptr< IInferRequestInternal > | CreateInferRequestImpl (InputsDataMap networkInputs, OutputsDataMap networkOutputs) |
| Creates an inference request internal implementation. More... | |
Protected Attributes | |
| InferenceEngine::InputsDataMap | _networkInputs |
| Holds information about network inputs info. | |
| InferenceEngine::OutputsDataMap | _networkOutputs |
| Holds information about network outputs data. | |
| std::shared_ptr< IInferencePlugin > | _plugin |
| A pointer to a IInferencePlugin interface. More... | |
An internal API of executable network to be implemented by plugin,.
|
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.
|
protectedvirtual |
Creates an inference request internal implementation.
| [in] | networkInputs | The network inputs |
| [in] | networkOutputs | The network outputs |
|
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 |
|
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 |
|
virtual |
Gets configuration dedicated to plugin behaviour.
| name | A config key, can be found in ie_plugin_config.hpp |
|
virtual |
Gets the remote context.
|
virtual |
Get executable graph information from a device.
|
virtual |
Gets the Executable network input Data node information. The received info is stored in the given InputsDataMap object.
|
virtual |
Gets general runtime metric for dedicated hardware.
| name | A metric name to request |
|
virtual |
|
virtual |
Queries memory states.
|
virtual |
Sets configuration for current executable network.
| config | Map of pairs: (config parameter name, config parameter value) |
|
virtual |
Sets the network inputs info.
| [in] | networkInputs | The network inputs info |
|
virtual |
Sets the network outputs data.
| [in] | networkOutputs | The network outputs |
|
virtual |
Sets the pointer to plugin internal.
| [in] | plugin | The plugin |
|
protected |
A pointer to a IInferencePlugin interface.