41 class INFERENCE_ENGINE_API_CLASS(ICNNNetwork):
public details::IRelease {
43 using Ptr = std::shared_ptr<ICNNNetwork>;
49 virtual const std::shared_ptr<ngraph::Function> getFunction()
const noexcept = 0;
56 virtual Precision getPrecision()
const noexcept = 0;
63 virtual void getOutputsInfo(
OutputsDataMap& out)
const noexcept = 0;
71 virtual void getInputsInfo(
InputsDataMap& inputs)
const noexcept = 0;
78 virtual InputInfo::Ptr getInput(
const std::string& inputName)
const noexcept = 0;
86 virtual void getName(
char* pName,
size_t len)
const noexcept = 0;
92 virtual const std::string& getName()
const noexcept = 0;
98 virtual size_t layerCount()
const noexcept = 0;
106 virtual DataPtr& getData(
const char* dname) noexcept = 0;
112 virtual void addLayer(
const CNNLayerPtr& layer) noexcept = 0;
121 virtual StatusCode addOutput(
const std::string& layerName,
size_t outputIndex = 0,
150 virtual size_t getBatchSize()
const noexcept = 0;
164 return NOT_IMPLEMENTED;
174 return NOT_IMPLEMENTED;
178 return NOT_IMPLEMENTED;
187 virtual StatusCode serialize(
const std::string& xmlPath,
const std::string& binPath,
ResponseDesc* resp)
const
Inference Engine API.
Definition: ie_argmax_layer.hpp:11
virtual StatusCode reshape(const InputShapes &, ResponseDesc *) noexcept
Run shape inference with new input shapes for the network.
Definition: ie_icnn_network.hpp:163
A header file for Blob and generic TBlob<>
This header file provides structures to store info about pre-processing of network inputs (scale...
Represents detailed information for an error.
Definition: ie_common.h:235
StatusCode
This enum contains codes for all possible return values of the interface functions.
Definition: ie_common.h:212
a header file for internal Layers structure to describe layers information
std::shared_ptr< Data > DataPtr
Smart pointer to Data.
Definition: ie_common.h:51
This is the main interface to describe the NN topology.
Definition: ie_icnn_network.hpp:41
Definition: ie_cnn_network.h:26
This header file defines the main Data representation node.
This is a header file for the ICNNNetworkStats class.
std::shared_ptr< CNNLayer > CNNLayerPtr
A smart pointer to the CNNLayer.
Definition: ie_common.h:37
std::map< std::string, DataPtr > OutputsDataMap
A collection that contains string as key, and Data smart pointer as value.
Definition: ie_icnn_network.hpp:36
This is a header file for Inference Engine Extension Interface.
A header file for the Inference Engine plugins destruction mechanism.
This is the interface to describe the NN topology scoring statistics.
Definition: ie_icnn_network_stats.hpp:39
virtual StatusCode AddExtension(const IShapeInferExtensionPtr &, ResponseDesc *) noexcept
Registers extension within the plugin.
Definition: ie_icnn_network.hpp:173
std::map< std::string, SizeVector > InputShapes
Map of pairs: name of corresponding data and its dimension.
Definition: ie_icnn_network.hpp:155
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:156
This is a header file with common inference engine definitions.
This class holds precision value and provides precision related operations.
Definition: ie_precision.hpp:21