43 class INFERENCE_ENGINE_API_CLASS(ICNNNetwork):
public details::IRelease {
48 using Ptr = std::shared_ptr<ICNNNetwork>;
54 virtual std::shared_ptr<const ngraph::Function> getFunction() const noexcept = 0;
64 INFERENCE_ENGINE_DEPRECATED("Network
precision does not make sence, use
precision on egdes. The method will be removed in 2020.3")
65 virtual
Precision getPrecision() const noexcept = 0;
74 virtual
void getOutputsInfo(
OutputsDataMap& out) const noexcept = 0;
86 virtual
void getInputsInfo(
InputsDataMap& inputs) const noexcept = 0;
94 virtual
InputInfo::
Ptr getInput(const std::
string& inputName) const noexcept = 0;
104 INFERENCE_ENGINE_DEPRECATED("Use
ICNNNetwork::getName() instead. The method will be removed in 2020.3")
105 virtual
void getName(
char* pName,
size_t len) const noexcept = 0;
112 virtual const std::
string& getName() const noexcept = 0;
119 virtual
size_t layerCount() const noexcept = 0;
130 INFERENCE_ENGINE_DEPRECATED("Migrate to IR v10 and work with
ngraph::Function directly. The method will be removed in 2020.3")
131 virtual
DataPtr& getData(const
char* dname) noexcept = 0;
139 INFERENCE_ENGINE_DEPRECATED("Migrate to IR v10 and work with
ngraph::Function directly. The method will be removed in 2020.3")
140 virtual
void addLayer(const
CNNLayerPtr& layer) noexcept = 0;
150 virtual
StatusCode addOutput(const std::
string& layerName,
size_t outputIndex = 0,
162 INFERENCE_ENGINE_DEPRECATED("Migrate to IR v10 and work with
ngraph::Function directly. The method will be removed in 2020.3")
191 virtual
size_t getBatchSize() const noexcept = 0;
208 return NOT_IMPLEMENTED;
219 INFERENCE_ENGINE_DEPRECATED(
"Use Core::AddExtension to add an extension to the library")
229 IE_SUPPRESS_DEPRECATED_START
230 INFERENCE_ENGINE_INTERNAL(
"Migrate to IR v10 and use quantization approach with FakeQuantize")
234 return NOT_IMPLEMENTED;
236 IE_SUPPRESS_DEPRECATED_END
246 virtual StatusCode serialize(
const std::string& xmlPath,
const std::string& binPath,
ResponseDesc* resp)
const Inference Engine API.
Definition: ie_argmax_layer.hpp:15
std::shared_ptr< IShapeInferExtension > IShapeInferExtensionPtr
A shared pointer to a IShapeInferExtension interface.
Definition: ie_iextension.h:350
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
StatusCode
This enum contains codes for all possible return values of the interface functions.
Definition: ie_common.h:224
a header file for internal Layers structure to describe layers information
std::shared_ptr< Data > DataPtr
Smart pointer to Data.
Definition: ie_common.h:53
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.
std::shared_ptr< CNNLayer > CNNLayerPtr
A smart pointer to the CNNLayer.
Definition: ie_common.h:39
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
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:44
Precision precision
Layer precision.
Definition: ie_layers.h:54
std::vector< size_t > SizeVector
Represents tensor size.
Definition: ie_common.h:29
std::map< std::string, SizeVector > InputShapes
Map of pairs: name of corresponding data and its dimension.
Definition: ie_icnn_network.hpp:196
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:160
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