30 #ifdef IMPLEMENT_INFERENCE_ENGINE_PLUGIN
31 #define INFERENCE_PLUGIN_API(type) extern "C" __declspec(dllexport) type
33 #define INFERENCE_PLUGIN_API(type) extern "C" type
36 #ifdef IMPLEMENT_INFERENCE_ENGINE_PLUGIN
37 #define INFERENCE_PLUGIN_API(type) extern "C" __attribute__((visibility("default"))) type
39 #define INFERENCE_PLUGIN_API(type) extern "C" type
42 #define INFERENCE_PLUGIN_API(TYPE) extern "C" TYPE
50 struct INFERENCE_ENGINE_API_CLASS(QueryNetworkResult) {
55 INFERENCE_ENGINE_DEPRECATED
115 virtual void GetVersion(
const Version *&versionInfo) noexcept = 0;
122 virtual void SetLogCallback(
IErrorListener &listener) noexcept = 0;
132 INFERENCE_ENGINE_DEPRECATED
158 const std::map<std::string, std::string> &config,
ResponseDesc *resp) noexcept = 0;
174 INFERENCE_ENGINE_DEPRECATED
189 INFERENCE_ENGINE_DEPRECATED
200 INFERENCE_ENGINE_DEPRECATED
201 virtual StatusCode GetPerformanceCounts(std::map<std::string, InferenceEngineProfileInfo> &perfMap,
210 virtual StatusCode AddExtension(InferenceEngine::IExtensionPtr extension,
219 virtual StatusCode SetConfig(
const std::map<std::string, std::string> &config,
ResponseDesc *resp) noexcept = 0;
228 INFERENCE_ENGINE_DEPRECATED
231 res.rc = InferenceEngine::NOT_IMPLEMENTED;
241 const std::map<std::string, std::string> & config,
QueryNetworkResult& res)
const noexcept {
244 res.rc = InferenceEngine::NOT_IMPLEMENTED;
std::map< std::string, std::string > supportedLayersMap
A map of supported layers:
Definition: ie_plugin.hpp:63
A header file that provides versioning information for the inference engine shared library...
A header file for a plugin logging mechanism.
std::map< std::string, Blob::Ptr > BlobMap
This is a convenient type for working with a map containing pairs(string, pointer to a Blob instance)...
Definition: ie_blob.h:478
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 IExecutableNetwork interface
ResponseDesc resp
Response mssage.
Definition: ie_plugin.hpp:73
This is a header file for the ICNNNetwork class.
Represents detailed information for an error.
Definition: ie_common.h:230
StatusCode
This enum contains codes for all possible return values of the interface functions.
Definition: ie_common.h:207
This class is a main plugin interface.
Definition: ie_plugin.hpp:109
This is the main interface to describe the NN topology.
Definition: ie_icnn_network.hpp:35
std::set< std::string > supportedLayers
Set of supported layers by specific device.
Definition: ie_plugin.hpp:56
StatusCode rc
A status code.
Definition: ie_plugin.hpp:68
The macro defines a symbol import/export mechanism essential for Microsoft Windows(R) OS...
This class represents a universal container in the Inference Engine.
Definition: ie_blob.h:35
#define INFERENCE_PLUGIN_API(TYPE)
Defines Inference Engine Plugin API method.
Definition: ie_plugin.hpp:42
StatusCode CreatePluginEngine(IInferencePlugin *&plugin, ResponseDesc *resp) noexcept
Creates the default instance of the interface (per plugin)
This is a header file for Inference Engine Extension Interface.
This class represents a custom error listener. Plugin consumers can provide it via InferenceEngine::S...
Definition: ie_error.hpp:16
header file for no_copy class
virtual void QueryNetwork(const ICNNNetwork &network, QueryNetworkResult &res) const noexcept
Query plugin if it supports specified network.
Definition: ie_plugin.hpp:229
virtual void QueryNetwork(const ICNNNetwork &network, const std::map< std::string, std::string > &config, QueryNetworkResult &res) const noexcept
Query plugin if it supports specified network with specified configuration.
Definition: ie_plugin.hpp:240
std::shared_ptr< IExecutableNetwork > Ptr
A smart pointer to the current IExecutableNetwork object.
Definition: ie_iexecutable_network.hpp:38
Responce structure encapsulating information about supported layer.
Definition: ie_plugin.hpp:50