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 Version GetVersion ()
  Wraps original method IInferencePlugin::GetVersion.
 
void  LoadNetwork (ICNNNetwork &network)
  Wraps original method IInferencePlugin::LoadNetwork.
 
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 *resp) More...
 
std::map< std::string, InferenceEngineProfileInfo GetPerformanceCounts () const
  Wraps original method IInferencePlugin::GetPerformanceCounts.
 
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. More...
 
void  QueryNetwork (const ICNNNetwork &network, const std::map< std::string, std::string > &config, QueryNetworkResult &res) const
  Wraps original method IInferencePlugin::QueryNetwork.
 
  operator InferenceEngine::InferenceEnginePluginPtr ()
  Returns wrapped object.
 
  operator InferenceEngine::HeteroPluginPtr ()
 

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

§ Infer()

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

§ operator InferenceEngine::HeteroPluginPtr()

InferenceEngine::InferencePlugin::operator InferenceEngine::HeteroPluginPtr ( )
inline
Returns
wrapped Hetero object if underlined object is HeteroPlugin instance, nullptr otherwise

§ QueryNetwork()

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

Wraps original method IInferencePlugin::QueryNetwork.

Use the version with config parameter


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