43 class INFERENCE_ENGINE_API_CLASS(ICNNNetwork):
public details::IRelease {
48 using Ptr = std::shared_ptr<ICNNNetwork>;
54 virtual std::shared_ptr<ngraph::Function> getFunction() noexcept = 0;
60 virtual std::shared_ptr<const
ngraph::Function> getFunction() const noexcept = 0;
70 INFERENCE_ENGINE_DEPRECATED("Network precision does not make sence, use precision on egdes. The method will be removed in 2021.1")
71 virtual
Precision getPrecision() const noexcept = 0;
84 virtual
void getOutputsInfo(
OutputsDataMap& out) const noexcept = 0;
96 virtual
void getInputsInfo(
InputsDataMap& inputs) const noexcept = 0;
104 virtual
InputInfo::
Ptr getInput(const std::
string& inputName) const noexcept = 0;
114 INFERENCE_ENGINE_DEPRECATED("Use
ICNNNetwork::getName() instead. The method will be removed in 2021.1")
115 virtual
void getName(
char* pName,
size_t len) const noexcept = 0;
122 virtual const std::
string& getName() const noexcept = 0;
129 virtual
size_t layerCount() const noexcept = 0;
140 INFERENCE_ENGINE_DEPRECATED("Migrate to IR v10 and work with
ngraph::Function directly. The method will be removed in 2021.1")
141 virtual
DataPtr& getData(const
char* dname) noexcept = 0;
149 INFERENCE_ENGINE_DEPRECATED("Migrate to IR v10 and work with
ngraph::Function directly. The method will be removed in 2021.1")
150 virtual
void addLayer(const
CNNLayerPtr& layer) noexcept = 0;
160 virtual
StatusCode addOutput(const std::
string& layerName,
size_t outputIndex = 0,
172 INFERENCE_ENGINE_DEPRECATED("Migrate to IR v10 and work with
ngraph::Function directly. The method will be removed in 2021.1")
201 virtual
size_t getBatchSize() const noexcept = 0;
218 return NOT_IMPLEMENTED;
229 INFERENCE_ENGINE_DEPRECATED(
"Use Core::AddExtension to add an extension to the library")
239 IE_SUPPRESS_DEPRECATED_START
240 INFERENCE_ENGINE_INTERNAL(
"Migrate to IR v10 and use quantization approach with FakeQuantize")
244 return NOT_IMPLEMENTED;
246 IE_SUPPRESS_DEPRECATED_END
256 virtual StatusCode serialize(
const std::string& xmlPath,
const std::string& binPath,
ResponseDesc* resp)
const std::shared_ptr< IShapeInferExtension > IShapeInferExtensionPtr
A shared pointer to a IShapeInferExtension interface.
Definition: ie_iextension.h:366
std::vector< size_t > SizeVector
Represents tensor size.
Definition: ie_common.h:29
Definition: cldnn_config.hpp:16
std::shared_ptr< CNNLayer > CNNLayerPtr
A smart pointer to the CNNLayer.
Definition: ie_common.h:39
StatusCode
This enum contains codes for all possible return values of the interface functions.
Definition: ie_common.h:224
A header file for Blob and generic TBlob<>
This header file provides structures to store info about pre-processing of network inputs (scale...
std::shared_ptr< ICNNNetwork > Ptr
A shared pointer to a ICNNNetwork interface.
Definition: ie_icnn_network.hpp:48
Represents detailed information for an error.
Definition: ie_common.h:247
a header file for internal Layers structure to describe layers information
This is the main interface to describe the NN topology.
Definition: ie_icnn_network.hpp:43
Definition: ie_cnn_network.h:27
This header file defines the main Data representation node.
This is a header file for the ICNNNetworkStats class.
This is a header file for Inference Engine Extension Interface.
A header file for the Inference Engine plugins destruction mechanism.
std::shared_ptr< Data > DataPtr
Smart pointer to Data.
Definition: ie_common.h:53
This is the interface to describe the NN topology scoring statistics.
Definition: ie_icnn_network_stats.hpp:44
std::map< std::string, DataPtr > OutputsDataMap
A collection that contains string as key, and Data smart pointer as value.
Definition: ie_icnn_network.hpp:37
std::map< std::string, SizeVector > InputShapes
Map of pairs: name of corresponding data and its dimension.
Definition: ie_icnn_network.hpp:206
This is a header file with common inference engine definitions.
This class holds precision value and provides precision related operations.
Definition: ie_precision.hpp:22