31 using Ptr = std::shared_ptr<CNNNetReader>;
76 if (network.get() ==
nullptr) {
83 return *network.get();
109 CALL_STATUS_FNC(
getName, name,
sizeof(name) /
sizeof(*name));
122 std::shared_ptr<ICNNNetReader> actual;
123 std::shared_ptr<CNNNetwork> network;
#define THROW_IE_EXCEPTION
A macro used to throw the exception with a notable description.
Definition: ie_exception.hpp:22
A header file that provides wrapper for ICNNNetwork object.
void ReadWeights(const std::string &filepath) const
Wraps original method ICNNNetReader::ReadWeights.
Definition: ie_cnn_net_reader.h:66
Definition: ie_argmax_layer.hpp:11
A header file that provides macros to handle no exception methods.
This is a wrapper class used to build and parse a network from the given IR. All the methods here can...
Definition: ie_cnn_net_reader.h:26
std::shared_ptr< CNNNetReader > Ptr
A smart pointer to this class.
Definition: ie_cnn_net_reader.h:31
A header file for Blob and generic TBlob<>
std::string getName() const
Wraps original method ICNNNetReader::getName.
Definition: ie_cnn_net_reader.h:107
ICNNNetReader * CreateCNNNetReader() noexcept
Creates a CNNNetReader instance.
std::shared_ptr< TBlob< T >> Ptr
Smart Pointer to this TBlob object.
Definition: ie_blob.h:274
CNNNetwork getNetwork()
Gets a copy of built network object.
Definition: ie_cnn_net_reader.h:74
void ReadNetwork(const void *model, size_t size)
Wraps original method ICNNNetReader::ReadNetwork(const void*, size_t, ResponseDesc*) ...
Definition: ie_cnn_net_reader.h:50
This class contains all the information about the Neural Network and the related binary information...
Definition: ie_cnn_network.h:29
int getVersion() const
Wraps original method ICNNNetReader::getVersion.
Definition: ie_cnn_net_reader.h:117
CNNNetReader()
A default constructor.
Definition: ie_cnn_net_reader.h:36
A header file that provides interface for network reader that is used to build networks from a given ...
bool isParseSuccess() const
Wraps original method ICNNNetReader::isParseSuccess.
Definition: ie_cnn_net_reader.h:90
void SetWeights(const TBlob< uint8_t >::Ptr &weights) const
Wraps original method ICNNNetReader::SetWeights.
Definition: ie_cnn_net_reader.h:58
void ReadNetwork(const std::string &filepath)
Wraps original method ICNNNetReader::ReadNetwork.
Definition: ie_cnn_net_reader.h:42
std::string getDescription() const
Wraps original method ICNNNetReader::getDescription.
Definition: ie_cnn_net_reader.h:98
This is a header file with common inference engine definitions.