28 class INFERENCE_ENGINE_DEPRECATED("Use
InferenceEngine::
Core instead. Will be removed in 2020
R2") InferencePlugin {
29 IE_SUPPRESS_DEPRECATED_START
34 InferencePlugin() =
default;
42 IE_SUPPRESS_DEPRECATED_END
49 const Version* versionInfo =
nullptr;
50 IE_SUPPRESS_DEPRECATED_START
51 actual->GetVersion(versionInfo);
52 IE_SUPPRESS_DEPRECATED_END
53 if (versionInfo ==
nullptr) {
69 IE_SUPPRESS_DEPRECATED_START
70 CALL_STATUS_FNC(LoadNetwork, ret, network, config);
71 IE_SUPPRESS_DEPRECATED_END
85 IE_SUPPRESS_DEPRECATED_START
86 CALL_STATUS_FNC(LoadNetwork, ret, network, config);
87 IE_SUPPRESS_DEPRECATED_END
88 if (ret.get() ==
nullptr)
THROW_IE_EXCEPTION <<
"Internal error: pointer to executable network is null";
98 IE_SUPPRESS_DEPRECATED_START
99 CALL_STATUS_FNC(AddExtension, extension);
100 IE_SUPPRESS_DEPRECATED_END
108 void SetConfig(
const std::map<std::string, std::string>& config) {
109 IE_SUPPRESS_DEPRECATED_START
110 CALL_STATUS_FNC(SetConfig, config);
111 IE_SUPPRESS_DEPRECATED_END
122 const std::map<std::string, std::string>& config) {
124 IE_SUPPRESS_DEPRECATED_START
125 CALL_STATUS_FNC(ImportNetwork, ret, modelFileName, config);
126 IE_SUPPRESS_DEPRECATED_END
140 IE_SUPPRESS_DEPRECATED_START
141 actual->QueryNetwork(network, config, res);
142 IE_SUPPRESS_DEPRECATED_END
146 IE_SUPPRESS_DEPRECATED_START
159 using Ptr = std::shared_ptr<InferencePlugin>;
161 IE_SUPPRESS_DEPRECATED_END
#define THROW_IE_EXCEPTION
A macro used to throw the exception with a notable description.
Definition: ie_exception.hpp:24
A header file that provides wrapper classes for IExecutableNetwork.
A header file that provides wrapper for ICNNNetwork object.
This class represents Inference Engine Core entity. It can throw exceptions safely for the applicatio...
Definition: ie_core.hpp:25
InferenceEngine::details::SOPointer< IInferencePlugin > InferenceEnginePluginPtr
A C++ helper to work with objects created by the plugin. Implements different interfaces.
Definition: ie_plugin_ptr.hpp:41
ExecutableNetwork ImportNetwork(const std::string &modelFileName, const std::map< std::string, std::string > &config)
Wraps original method IInferencePlugin::ImportNetwork.
Definition: ie_plugin_cpp.hpp:121
Inference Engine API.
Definition: ie_argmax_layer.hpp:11
Represents version information that describes plugins and the inference engine runtime library...
Definition: ie_version.hpp:20
A header file for Main Inference Engine API.
A header file that provides macros to handle no exception methods.
ResponseDesc resp
Response mssage.
Definition: ie_plugin.hpp:68
A header file contains a wrapper class for handling plugin instantiation and releasing resources...
class Use ngraph API NN Builder API will be removed in R2(PortInfo)
This class contains a pair from layerId and port index.
Definition: ie_network.hpp:34
void SetConfig(const std::map< std::string, std::string > &config)
Wraps original method IInferencePlugin::SetConfig.
Definition: ie_plugin_cpp.hpp:108
ExecutableNetwork LoadNetwork(CNNNetwork network, const std::map< std::string, std::string > &config)
Wraps original method IInferencePlugin::LoadNetwork(IExecutableNetwork::Ptr&, ICNNNetwork&, const std::map<std::string, std::string> &, ResponseDesc*).
Definition: ie_plugin_cpp.hpp:83
void QueryNetwork(const ICNNNetwork &network, const std::map< std::string, std::string > &config, QueryNetworkResult &res) const
Wraps original method IInferencePlugin::QueryNetwork(const ICNNNetwork&, const std::map<std::string, std::string> &, QueryNetworkResult&) const.
Definition: ie_plugin_cpp.hpp:138
std::shared_ptr< InferencePlugin > Ptr
Shared pointer on InferencePlugin object.
Definition: ie_plugin_cpp.hpp:159
This is the main interface to describe the NN topology.
Definition: ie_icnn_network.hpp:41
wrapper over IExecutableNetwork
Definition: ie_executable_network.hpp:29
This class contains all the information about the Neural Network and the related binary information...
Definition: ie_cnn_network.h:37
StatusCode rc
A status code.
Definition: ie_plugin.hpp:63
ExecutableNetwork LoadNetwork(ICNNNetwork &network, const std::map< std::string, std::string > &config)
Wraps original method IInferencePlugin::LoadNetwork(IExecutableNetwork::Ptr&, ICNNNetwork&, const std::map<std::string, std::string> &, ResponseDesc*).
Definition: ie_plugin_cpp.hpp:67
const Version * GetVersion()
Wraps original method IInferencePlugin::GetVersion.
Definition: ie_plugin_cpp.hpp:48
char msg[256]
A character buffer that holds the detailed information for an error.
Definition: ie_common.h:239
std::shared_ptr< IExecutableNetwork > Ptr
A smart pointer to the current IExecutableNetwork object.
Definition: ie_iexecutable_network.hpp:39
Responce structure encapsulating information about supported layer.
Definition: ie_plugin.hpp:52
InferencePlugin(const InferenceEnginePluginPtr &pointer)
Constructs a plugin instance from the given pointer.
Definition: ie_plugin_cpp.hpp:40
void AddExtension(InferenceEngine::IExtensionPtr extension)
Wraps original method IInferencePlugin::AddExtension.
Definition: ie_plugin_cpp.hpp:97