Public Types | Public Member Functions
InferenceEngine::InferencePlugin Class Reference

This class is a C++ API wrapper for IInferencePlugin. It can throw exceptions safely for the application, where it is properly handled. More...

#include <ie_plugin_cpp.hpp>

Public Types

using Ptr = std::shared_ptr< InferencePlugin >
 Shared pointer on InferencePlugin object.
 

Public Member Functions

 InferencePlugin ()=default
 A default constructor.
 
 InferencePlugin (const InferenceEnginePluginPtr &pointer)
 Constructs a plugin instance from the given pointer.
 
const VersionGetVersion ()
 Wraps original method IInferencePlugin::GetVersion.
 
void LoadNetwork (ICNNNetwork &network)
 Wraps original method IInferencePlugin::LoadNetwork(ICNNNetwork &, ResponseDesc *) More...
 
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*).
 
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*).
 
void Infer (const BlobMap &input, BlobMap &result)
 Wraps original method IInferencePlugin::Infer(const BlobMap&, BlobMap&, ResponseDesc *) More...
 
std::map< std::string, InferenceEngineProfileInfoGetPerformanceCounts () const
 Wraps original method IInferencePlugin::GetPerformanceCounts. More...
 
void AddExtension (InferenceEngine::IExtensionPtr extension)
 Wraps original method IInferencePlugin::AddExtension.
 
void SetConfig (const std::map< std::string, std::string > &config)
 Wraps original method IInferencePlugin::SetConfig.
 
ExecutableNetwork ImportNetwork (const std::string &modelFileName, const std::map< std::string, std::string > &config)
 Wraps original method IInferencePlugin::ImportNetwork.
 
void QueryNetwork (const ICNNNetwork &network, QueryNetworkResult &res) const
 Wraps original method IInferencePlugin::QueryNetwork(const ICNNNetwork&, QueryNetworkResult& ) const. More...
 
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.
 
 operator InferenceEngine::InferenceEnginePluginPtr ()
 Converts InferenceEngine to InferenceEnginePluginPtr pointer. More...
 
 operator InferenceEngine::HeteroPluginPtr ()
 Converts InferenceEngine to HeteroPluginPtr pointer. More...
 

Detailed Description

This class is a C++ API wrapper for IInferencePlugin. It can throw exceptions safely for the application, where it is properly handled.

Member Function Documentation

§ GetPerformanceCounts()

std::map<std::string, InferenceEngineProfileInfo> InferenceEngine::InferencePlugin::GetPerformanceCounts ( ) const
inline

Wraps original method IInferencePlugin::GetPerformanceCounts.

Deprecated:
Use IInferRequest to get performance counters

§ Infer()

void InferenceEngine::InferencePlugin::Infer ( const BlobMap input,
BlobMap result 
)
inline

§ LoadNetwork()

void InferenceEngine::InferencePlugin::LoadNetwork ( ICNNNetwork network)
inline

§ operator InferenceEngine::HeteroPluginPtr()

InferenceEngine::InferencePlugin::operator InferenceEngine::HeteroPluginPtr ( )
inline

Converts InferenceEngine to HeteroPluginPtr pointer.

Deprecated:
Deprecated since HeteroPluginPtr is deprecated
Returns
wrapped Hetero object if underlined object is HeteroPlugin instance, nullptr otherwise

§ operator InferenceEngine::InferenceEnginePluginPtr()

InferenceEngine::InferencePlugin::operator InferenceEngine::InferenceEnginePluginPtr ( )
inline

Converts InferenceEngine to InferenceEnginePluginPtr pointer.

Returns wrapped object

§ QueryNetwork()

void InferenceEngine::InferencePlugin::QueryNetwork ( const ICNNNetwork network,
QueryNetworkResult res 
) const
inline

The documentation for this class was generated from the following file: