29 class INFERENCE_ENGINE_API_CLASS(Core) {
31 std::shared_ptr<Impl> _impl;
42 explicit Core(
const std::string& xmlConfigFile = {});
50 std::map<std::string, Version>
GetVersions(
const std::string& deviceName)
const;
52 #ifdef ENABLE_UNICODE_PATH_SUPPORT
64 CNNNetwork ReadNetwork(
const std::wstring& modelPath,
const std::wstring& binPath = {})
const;
108 const CNNNetwork& network,
const std::string& deviceName,
109 const std::map<std::string, std::string>& config = {});
127 const std::map<std::string, std::string>& config = {});
147 const std::string& modelFileName,
const std::string& deviceName,
148 const std::map<std::string, std::string>& config = {});
159 const std::map<std::string, std::string>& config = {});
173 const std::map<std::string, std::string>& config = {});
184 const CNNNetwork& network,
const std::string& deviceName,
185 const std::map<std::string, std::string>& config = {})
const;
195 void SetConfig(
const std::map<std::string, std::string>& config,
const std::string& deviceName = {});
237 void RegisterPlugin(
const std::string& pluginName,
const std::string& deviceName);
std::shared_ptr< const Blob > CPtr
A smart pointer to the const Blob object.
Definition: ie_blob.h:48
This class contains all the information about the Neural Network and the related binary information.
Definition: ie_cnn_network.h:36
QueryNetworkResult QueryNetwork(const CNNNetwork &network, const std::string &deviceName, const std::map< std::string, std::string > &config={}) const
Query device if it supports specified network with specified configuration.
CNNNetwork ReadNetwork(const std::string &model, const Blob::CPtr &weights) const
Reads models from IR and ONNX formats.
void SetConfig(const std::map< std::string, std::string > &config, const std::string &deviceName={})
Sets configuration for device, acceptable keys can be found in ie_plugin_config.hpp.
RemoteContext::Ptr GetDefaultContext(const std::string &deviceName)
Get a pointer to default(plugin-supplied) shared context object for specified accelerator device.
Parameter GetConfig(const std::string &deviceName, const std::string &name) const
Gets configuration dedicated to device behaviour.
void RegisterPlugin(const std::string &pluginName, const std::string &deviceName)
Register new device and plugin which implement this device inside Inference Engine.
void UnregisterPlugin(const std::string &deviceName)
Unloads previously loaded plugin with a specified name from Inference Engine The method is needed to ...
void RegisterPlugins(const std::string &xmlConfigFile)
Registers plugin to Inference Engine Core instance using XML configuration file with plugins descript...
ExecutableNetwork LoadNetwork(const CNNNetwork &network, const std::string &deviceName, const std::map< std::string, std::string > &config={})
Creates an executable network from a network object.
std::map< std::string, Version > GetVersions(const std::string &deviceName) const
Returns plugins version information.
ExecutableNetwork ImportNetwork(std::istream &networkModel, const RemoteContext::Ptr &context, const std::map< std::string, std::string > &config={})
Creates an executable network from a previously exported network within a specified remote context.
void AddExtension(IExtensionPtr extension, const std::string &deviceName)
Registers extension for the specified plugin.
ExecutableNetwork ImportNetwork(std::istream &networkModel, const std::string &deviceName={}, const std::map< std::string, std::string > &config={})
Creates an executable network from a previously exported network.
void AddExtension(const IExtensionPtr &extension)
Registers extension.
ExecutableNetwork LoadNetwork(const CNNNetwork &network, RemoteContext::Ptr context, const std::map< std::string, std::string > &config={})
Creates an executable network from a network object within a specified remote context.
Core(const std::string &xmlConfigFile={})
Constructs Inference Engine Core instance using XML configuration file with plugins description.
CNNNetwork ReadNetwork(const std::string &modelPath, const std::string &binPath={}) const
Reads models from IR and ONNX formats.
std::vector< std::string > GetAvailableDevices() const
Returns devices available for neural networks inference.
Parameter GetMetric(const std::string &deviceName, const std::string &name) const
Gets general runtime metric for dedicated hardware.
ExecutableNetwork ImportNetwork(const std::string &modelFileName, const std::string &deviceName, const std::map< std::string, std::string > &config={})
Creates an executable network from a previously exported network.
RemoteContext::Ptr CreateContext(const std::string &deviceName, const ParamMap ¶ms)
Create a new shared context object on specified accelerator device using specified plugin-specific lo...
wrapper over IExecutableNetwork
Definition: ie_executable_network.hpp:30
This class represents an object to work with different parameters.
Definition: ie_parameter.hpp:37
std::shared_ptr< RemoteContext > Ptr
A smart pointer to the RemoteContext object.
Definition: ie_remote_context.hpp:99
A header file that provides wrapper classes for IExecutableNetwork.
A header file that defines a wrapper class for handling extension instantiation and releasing resourc...
This is a header file for the IE RemoteContext and RemoteBlob classes.
A header file that provides versioning information for the inference engine shared library.
Inference Engine C++ API.
Definition: cldnn_config.hpp:15
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
std::shared_ptr< IExtension > IExtensionPtr
A shared pointer to a IExtension interface.
Definition: ie_iextension.h:195
Response structure encapsulating information about supported layer.
Definition: ie_common.h:258