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. |
|
This is a wrapper class used to build and parse a network from the given IR. All the methods here can throw exceptions.
|
inline |
Gets a copy of built network object.