51 class INFERENCE_ENGINE_API_CLASS(Core) {
53 std::shared_ptr<Impl> _impl;
64 explicit Core(
const std::string& xmlConfigFile = {});
72 std::map<std::string, Version> GetVersions(
const std::string& deviceName)
const;
83 IE_SUPPRESS_DEPRECATED_START
84 INFERENCE_ENGINE_DEPRECATED(
"IErrorListener is not used anymore. An exception is thrown in case of any unexpected situations.")
86 IE_SUPPRESS_DEPRECATED_END
88 #ifdef ENABLE_UNICODE_PATH_SUPPORT 99 CNNNetwork ReadNetwork(
const std::wstring& modelPath,
const std::wstring& binPath = {})
const {
100 return ReadNetwork(details::wStringtoMBCSstringChar(modelPath), details::wStringtoMBCSstringChar(binPath));
114 CNNNetwork ReadNetwork(
const std::string& modelPath,
const std::string& binPath = {})
const;
138 const CNNNetwork& network,
const std::string& deviceName,
139 const std::map<std::string, std::string>& config = {});
157 const std::map<std::string, std::string>& config = {});
165 void AddExtension(
IExtensionPtr extension,
const std::string& deviceName);
177 const std::string& modelFileName,
const std::string& deviceName,
178 const std::map<std::string, std::string>& config = {});
188 ExecutableNetwork ImportNetwork(std::istream& networkModel,
const std::string& deviceName = {},
189 const std::map<std::string, std::string>& config = {});
203 const std::map<std::string, std::string>& config = {});
214 const ICNNNetwork& network,
const std::string& deviceName,
215 const std::map<std::string, std::string>& config = {})
const;
225 void SetConfig(
const std::map<std::string, std::string>& config,
const std::string& deviceName = {});
236 Parameter GetConfig(
const std::string& deviceName,
const std::string&
name)
const;
248 Parameter GetMetric(
const std::string& deviceName,
const std::string& name)
const;
256 std::vector<std::string> GetAvailableDevices()
const;
267 void RegisterPlugin(
const std::string& pluginName,
const std::string& deviceName);
276 void UnregisterPlugin(
const std::string& deviceName);
306 void RegisterPlugins(
const std::string& xmlConfigFile);
A header file that provides wrapper classes for IExecutableNetwork.
std::map< std::string, std::string > supportedLayersMap
A map of supported layers:
Definition: ie_core.hpp:33
This class represents Inference Engine Core entity.
Definition: ie_core.hpp:51
Definition: cldnn_config.hpp:16
ResponseDesc resp
Response message.
Definition: ie_core.hpp:43
StatusCode
This enum contains codes for all possible return values of the interface functions.
Definition: ie_common.h:224
This is a header file for the IE RemoteContext and RemoteBlob classes.
std::string name
Layer name.
Definition: ie_layers.h:42
std::shared_ptr< const Blob > CPtr
A smart pointer to the const Blob object.
Definition: ie_blob.h:47
Represents detailed information for an error.
Definition: ie_common.h:247
std::map< std::string, Parameter > ParamMap
An std::map object containing low-level object parameters of classes that are derived from RemoteBlob...
Definition: ie_remote_context.hpp:26
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
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_core.hpp:38
This is a header file with functions related to filesystem operations.
This class represents an object to work with different parameters.
Definition: ie_parameter.hpp:38
std::shared_ptr< IExtension > IExtensionPtr
A shared pointer to a IExtension interface.
Definition: ie_iextension.h:359
This class represents a custom error listener.
Definition: ie_error.hpp:18
std::map< std::string, std::string > params
Map of pairs: (parameter name, parameter value)
Definition: ie_layers.h:367
Responce structure encapsulating information about supported layer.
Definition: ie_core.hpp:27
std::shared_ptr< RemoteContext > Ptr
A smart pointer to the RemoteContext object.
Definition: ie_remote_context.hpp:99
A header file that defines a wrapper class for handling extension instantiation and releasing resourc...