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

This is a wrapper class used to build and parse a network from the given IR. All the methods here can throw exceptions. More...

#include <ie_cnn_net_reader.h>

Public Types

using  Ptr = std::shared_ptr< CNNNetReader >
  A smart pointer to this class.
 

Public Member Functions

  CNNNetReader ()
  A default constructor.
 
void  ReadNetwork (const std::string &filepath)
  Wraps original method ICNNNetReader::ReadNetwork.
 
void  ReadNetwork (const void *model, size_t size)
  Wraps original method ICNNNetReader::ReadNetwork(const void*, size_t, ResponseDesc*)
 
void  SetWeights (const TBlob< uint8_t >::Ptr &weights) const
  Wraps original method ICNNNetReader::SetWeights.
 
void  ReadWeights (const std::string &filepath) const
  Wraps original method ICNNNetReader::ReadWeights.
 
CNNNetwork  getNetwork ()
  Gets a copy of built network object. More...
 
bool  isParseSuccess () const
  Wraps original method ICNNNetReader::isParseSuccess.
 
std::string  getDescription () const
  Wraps original method ICNNNetReader::getDescription.
 
std::string  getName () const
  Wraps original method ICNNNetReader::getName.
 
int  getVersion () const
  Wraps original method ICNNNetReader::getVersion.
 

Detailed Description

This is a wrapper class used to build and parse a network from the given IR. All the methods here can throw exceptions.

Member Function Documentation

§ getNetwork()

CNNNetwork InferenceEngine::CNNNetReader::getNetwork ( )
inline

Gets a copy of built network object.

Returns
A copy of the CNNNetwork object to be loaded

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