Minimum implementation of IExecutableNetworkInternal interface. Must not be used as a base class in plugins As base classes, use ExecutableNetworkThreadSafeDefault or ExecutableNetworkThreadSafeAsyncOnly. More...
#include <ie_executable_network_internal.hpp>
Public Types | |
typedef std::shared_ptr< ExecutableNetworkInternal > | Ptr |
A shared pointer to ExecutableNetworkInternal object. | |
Public Types inherited from InferenceEngine::IExecutableNetworkInternal | |
typedef std::shared_ptr< IExecutableNetworkInternal > | Ptr |
A shared pointer to IExecutableNetworkInternal interface. | |
Public Member Functions | |
virtual void | setNetworkInputs (const InferenceEngine::InputsDataMap networkInputs) |
Sets the network inputs info. More... | |
virtual void | setNetworkOutputs (const InferenceEngine::OutputsDataMap networkOutputs) |
Sets the network outputs data. More... | |
ConstOutputsDataMap | GetOutputsInfo () const override |
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... | |
ConstInputsDataMap | GetInputsInfo () const override |
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... | |
void | Export (const std::string &modelFileName) override |
Export the current created executable network so it can be used later in the Import() main API. More... | |
void | Export (std::ostream &networkModel) override |
Export the current created executable network so it can be used later in the Import() main API. More... | |
void | GetExecGraphInfo (ICNNNetwork::Ptr &graphPtr) override |
Get executable graph information from a device. More... | |
void | SetPointerToPlugin (IInferencePlugin::Ptr plugin) |
Sets the pointer to plugin internal. More... | |
std::vector< IMemoryStateInternal::Ptr > | QueryState () override |
Queries memory states. More... | |
void | SetConfig (const std::map< std::string, Parameter > &config, ResponseDesc *) override |
Sets configuration for current executable network. More... | |
void | GetConfig (const std::string &, Parameter &, ResponseDesc *) const override |
Gets configuration dedicated to plugin behaviour. More... | |
void | GetMetric (const std::string &, Parameter &, ResponseDesc *) const override |
Gets general runtime metric for dedicated hardware. More... | |
void | GetContext (RemoteContext::Ptr &, ResponseDesc *) const override |
Gets the remote context. More... | |
Public Member Functions inherited from InferenceEngine::IExecutableNetworkInternal | |
virtual | ~IExecutableNetworkInternal ()=default |
Destroys the object. | |
virtual void | CreateInferRequest (IInferRequest::Ptr &req)=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... | |
Protected Member Functions | |
virtual void | ExportImpl (std::ostream &networkModel) |
Exports an internal hardware-dependent model to a stream. More... | |
Protected Attributes | |
InferenceEngine::InputsDataMap | _networkInputs |
Holds infromation about network inputs info. | |
InferenceEngine::OutputsDataMap | _networkOutputs |
Holds information about network outputs data. | |
IInferencePlugin::Ptr | _plugin |
A pointer to a IInferencePlugin interface. More... | |
Minimum implementation of IExecutableNetworkInternal interface. Must not be used as a base class in plugins As base classes, use ExecutableNetworkThreadSafeDefault or ExecutableNetworkThreadSafeAsyncOnly.
|
inlineoverridevirtual |
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 |
Implements InferenceEngine::IExecutableNetworkInternal.
|
inlineoverridevirtual |
Export the current created executable network so it can be used later in the Import() main API.
networkModel | - Reference to network model output stream |
Implements InferenceEngine::IExecutableNetworkInternal.
|
inlineprotectedvirtual |
Exports an internal hardware-dependent model to a stream.
networkModel | A stream to export network to. |
|
inlineoverridevirtual |
Gets configuration dedicated to plugin behaviour.
name | - config key, can be found in ie_plugin_config.hpp |
result | - value of config corresponding to config key |
resp | Pointer to the response message that holds a description of an error if any occurred |
Implements InferenceEngine::IExecutableNetworkInternal.
|
inlineoverridevirtual |
Gets the remote context.
pContext | A reference to a context |
resp | A response |
Implements InferenceEngine::IExecutableNetworkInternal.
|
inlineoverridevirtual |
Get executable graph information from a device.
graphPtr | network ptr to store executable graph information |
Implements InferenceEngine::IExecutableNetworkInternal.
|
inlineoverridevirtual |
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()
Implements InferenceEngine::IExecutableNetworkInternal.
|
inlineoverridevirtual |
Gets general runtime metric for dedicated hardware.
name | - metric name to request |
result | - metric value corresponding to metric key |
resp | - Pointer to the response message that holds a description of an error if any occurred |
Implements InferenceEngine::IExecutableNetworkInternal.
|
inlineoverridevirtual |
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()
Implements InferenceEngine::IExecutableNetworkInternal.
|
inlineoverridevirtual |
Queries memory states.
Implements InferenceEngine::IExecutableNetworkInternal.
|
inlineoverridevirtual |
Sets configuration for current executable network.
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 |
Implements InferenceEngine::IExecutableNetworkInternal.
|
inlinevirtual |
Sets the network inputs info.
[in] | networkInputs | The network inputs info |
|
inlinevirtual |
Sets the network outputs data.
[in] | networkOutputs | The network outputs |
|
inline |
Sets the pointer to plugin internal.
[in] | plugin | The plugin |
|
protected |
A pointer to a IInferencePlugin interface.