31 IE_SUPPRESS_DEPRECATED_START
44 if (actual ==
nullptr) {
49 IE_SUPPRESS_DEPRECATED_END
58 const Version* versionInfo =
nullptr;
59 IE_SUPPRESS_DEPRECATED_START
60 actual->GetVersion(versionInfo);
61 IE_SUPPRESS_DEPRECATED_END
62 if (versionInfo ==
nullptr) {
79 IE_SUPPRESS_DEPRECATED_START
80 CALL_STATUS_FNC(LoadNetwork, ret, network, config);
82 IE_SUPPRESS_DEPRECATED_END
95 IE_SUPPRESS_DEPRECATED_START
96 CALL_STATUS_FNC(LoadNetwork, ret, network, config);
97 if (ret.get() ==
nullptr)
THROW_IE_EXCEPTION <<
"Internal error: pointer to executable network is null";
99 IE_SUPPRESS_DEPRECATED_END
110 IE_SUPPRESS_DEPRECATED_START
111 CALL_STATUS_FNC(AddExtension, extension);
112 IE_SUPPRESS_DEPRECATED_END
121 void SetConfig(
const std::map<std::string, std::string>& config) {
122 IE_SUPPRESS_DEPRECATED_START
123 CALL_STATUS_FNC(SetConfig, config);
124 IE_SUPPRESS_DEPRECATED_END
136 const std::map<std::string, std::string>& config) {
138 IE_SUPPRESS_DEPRECATED_START
139 CALL_STATUS_FNC(ImportNetwork, ret, modelFileName, config);
141 IE_SUPPRESS_DEPRECATED_END
155 IE_SUPPRESS_DEPRECATED_START
156 actual->QueryNetwork(network, config, res);
157 IE_SUPPRESS_DEPRECATED_END
161 IE_SUPPRESS_DEPRECATED_START
176 using Ptr = std::shared_ptr<InferencePlugin>;
178 IE_SUPPRESS_DEPRECATED_END
#define THROW_IE_EXCEPTION
A macro used to throw the exception with a notable description.
Definition: ie_exception.hpp:25
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.
Definition: ie_core.hpp:29
ExecutableNetwork LoadNetwork(CNNNetwork network, const std::map< std::string, std::string > &config)
Definition: ie_plugin_cpp.hpp:93
InferenceEngine::details::SOPointer< IInferencePlugin > InferenceEnginePluginPtr
A C++ helper to work with objects created by the plugin.
Definition: ie_plugin_ptr.hpp:43
ExecutableNetwork LoadNetwork(const ICNNNetwork &network, const std::map< std::string, std::string > &config)
Definition: ie_plugin_cpp.hpp:77
Inference Engine API.
Definition: ie_argmax_layer.hpp:15
Represents version information that describes plugins and the inference engine runtime library...
Definition: ie_version.hpp:21
This class is a C++ API wrapper for IInferencePlugin.
Definition: ie_plugin_cpp.hpp:30
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:70
A header file contains a wrapper class for handling plugin instantiation and releasing resources...
char msg[4096]
A character buffer that holds the detailed information for an error.
Definition: ie_common.h:251
void AddExtension(InferenceEngine::IExtensionPtr extension)
Definition: ie_plugin_cpp.hpp:109
This is the main interface to describe the NN topology.
Definition: ie_icnn_network.hpp:43
wrapper over IExecutableNetwork
Definition: ie_executable_network.hpp:30
std::shared_ptr< IExtension > IExtensionPtr
A shared pointer to a IExtension interface.
Definition: ie_iextension.h:359
std::shared_ptr< InferencePlugin > Ptr
Shared pointer on InferencePlugin object.
Definition: ie_plugin_cpp.hpp:176
This class contains all the information about the Neural Network and the related binary information...
Definition: ie_cnn_network.h:38
StatusCode rc
A status code.
Definition: ie_plugin.hpp:65
const Version * GetVersion()
Definition: ie_plugin_cpp.hpp:57
void SetConfig(const std::map< std::string, std::string > &config)
Definition: ie_plugin_cpp.hpp:121
void QueryNetwork(const ICNNNetwork &network, const std::map< std::string, std::string > &config, QueryNetworkResult &res) const
Definition: ie_plugin_cpp.hpp:153
std::shared_ptr< IExecutableNetwork > Ptr
A smart pointer to the current IExecutableNetwork object.
Definition: ie_iexecutable_network.hpp:41
Responce structure encapsulating information about supported layer.
Definition: ie_plugin.hpp:54
ExecutableNetwork ImportNetwork(const std::string &modelFileName, const std::map< std::string, std::string > &config)
Definition: ie_plugin_cpp.hpp:135
InferencePlugin(const InferenceEnginePluginPtr &pointer)
Constructs a plugin instance from the given pointer.
Definition: ie_plugin_cpp.hpp:43