22 #if defined IMPLEMENT_INFERENCE_ENGINE_API || defined IMPLEMENT_INFERENCE_ENGINE_PLUGIN || 1
23 # define INFERENCE_ENGINE_ICNNNETWORK_CLASS(...) INFERENCE_ENGINE_API_CLASS(__VA_ARGS__)
25 # define INFERENCE_ENGINE_ICNNNETWORK_CLASS(...) \
26 INFERENCE_ENGINE_INTERNAL("Use InferenceEngine::CNNNetwork wrapper instead") \
27 INFERENCE_ENGINE_API_CLASS(__VA_ARGS__)
48 class INFERENCE_ENGINE_ICNNNETWORK_CLASS(ICNNNetwork) :
public details::IRelease {
53 using Ptr = std::shared_ptr<ICNNNetwork>;
59 virtual std::shared_ptr<ngraph::Function>
getFunction() noexcept = 0;
65 virtual
std::shared_ptr<const ngraph::Function> getFunction() const noexcept = 0;
110 virtual const
std::
string& getName() const noexcept = 0;
117 virtual
size_t layerCount() const noexcept = 0;
127 virtual
StatusCode addOutput(const
std::
string& layerName,
size_t outputIndex = 0,
156 virtual
size_t getBatchSize() const noexcept = 0;
173 return NOT_IMPLEMENTED;
200 return NOT_IMPLEMENTED;
std::shared_ptr< ICNNNetwork > Ptr
A shared pointer to a ICNNNetwork interface.
Definition: ie_icnn_network.hpp:53
virtual ~ICNNNetwork()
A virtual destructor.
std::map< std::string, SizeVector > InputShapes
Map of pairs: name of corresponding data and its dimension.
Definition: ie_icnn_network.hpp:161
virtual StatusCode getOVNameForTensor(std::string &ov_name, const std::string &orig_name, ResponseDesc *resp) const noexcept
Methods maps framework tensor name to OpenVINO name.
Definition: ie_icnn_network.hpp:196
virtual StatusCode serialize(const std::string &xmlPath, const std::string &binPath, ResponseDesc *resp) const noexcept=0
Serialize network to IR and weights files.
virtual std::shared_ptr< ngraph::Function > getFunction() noexcept=0
Returns nGraph function.
A header file for Blob and generic TBlob<>
This is a header file with common inference engine definitions.
This header file defines the main Data representation node.
A header file for the Inference Engine plugins destruction mechanism.
Inference Engine C++ API.
Definition: cldnn_config.hpp:15
std::map< std::string, InputInfo::Ptr > InputsDataMap
A collection that contains string as key, and InputInfo smart pointer as value.
Definition: ie_input_info.hpp:165
StatusCode
This enum contains codes for all possible return values of the interface functions.
Definition: ie_common.h:224
std::map< std::string, DataPtr > OutputsDataMap
A collection that contains string as key, and Data smart pointer as value.
Definition: ie_icnn_network.hpp:41
std::vector< size_t > SizeVector
Represents tensor size.
Definition: ie_common.h:27
Represents detailed information for an error.
Definition: ie_common.h:248