28 namespace InferenceEngine {
39 class INFERENCE_ENGINE_API_CLASS(ICNNNetwork):
public details::IRelease {
44 using Ptr = std::shared_ptr<ICNNNetwork>;
50 virtual std::shared_ptr<ngraph::Function>
getFunction() noexcept = 0;
56 virtual std::shared_ptr<const ngraph::Function> getFunction() const noexcept = 0;
89 virtual
InputInfo::
Ptr getInput(const std::
string& inputName) const noexcept = 0;
96 virtual const std::
string& getName() const noexcept = 0;
103 virtual
size_t layerCount() const noexcept = 0;
113 virtual
StatusCode addOutput(const std::
string& layerName,
size_t outputIndex = 0,
142 virtual
size_t getBatchSize() const noexcept = 0;
159 return NOT_IMPLEMENTED;
std::shared_ptr< ICNNNetwork > Ptr
A shared pointer to a ICNNNetwork interface.
Definition: ie_icnn_network.hpp:44
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:147
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.
StatusCode
This enum contains codes for all possible return values of the interface functions.
Definition: ie_common.h:222
std::vector< size_t > SizeVector
Represents tensor size.
Definition: ie_common.h:27
This header file defines the main Data representation node.
std::map< std::string, DataPtr > OutputsDataMap
A collection that contains string as key, and Data smart pointer as value.
Definition: ie_icnn_network.hpp:33
A header file for the Inference Engine plugins destruction mechanism.
Represents detailed information for an error.
Definition: ie_common.h:245