37 using Ptr = std::shared_ptr<ICNNNetwork>;
76 virtual void getName(
char* pName,
size_t len)
const noexcept = 0;
82 virtual const std::string&
getName()
const noexcept = 0;
88 virtual size_t layerCount()
const noexcept = 0;
112 addOutput(
const std::string& layerName,
size_t outputIndex = 0,
ResponseDesc* resp =
nullptr) noexcept = 0;
TargetDevice
Describes known device types.
Definition: ie_device.hpp:23
virtual const std::string & getName() const noexcept=0
Returns the network name.
Definition: ie_argmax_layer.hpp:11
std::shared_ptr< CNNLayer > CNNLayerPtr
A smart pointer to the CNNLayer.
Definition: ie_common.h:36
virtual DataPtr & getData(const char *dname) noexcept=0
Returns a smart pointer reference to a Data node given its name. If the Data node is missing...
virtual void getInputsInfo(InputsDataMap &inputs) const noexcept=0
Gets the network input Data node information. The received info is stored in the given InputsDataMap ...
StatusCode
This enum contains codes for all possible return values of the interface functions.
Definition: ie_common.h:175
virtual StatusCode reshape(const InputShapes &, ResponseDesc *) noexcept
Run shape inference with new input shapes for the network.
Definition: ie_icnn_network.hpp:173
A header file for Blob and generic TBlob<>
virtual InputInfo::Ptr getInput(const std::string &inputName) const noexcept=0
Returns information on certain input pointed by inputName.
virtual StatusCode getLayerByName(const char *layerName, CNNLayerPtr &out, ResponseDesc *resp) const noexcept=0
Gets network layer with the given name.
This header file provides structures to store info about pre-processing of network inputs (scale...
virtual size_t getBatchSize() const noexcept=0
Gets the inference batch size.
Represents detailed information for an error.
Definition: ie_common.h:198
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:35
This header file defines the main Data representation node.
This is a header file for the ICNNNetworkStats class.
virtual void setTargetDevice(TargetDevice device) noexcept=0
Sets a desirable device to perform all work on. Some plug-ins might not support some target devices a...
virtual size_t layerCount() const noexcept=0
Returns the number of layers in the network as an integer value.
virtual void addLayer(const CNNLayerPtr &layer) noexcept=0
Insert a layer into the network. A user is responsible to connect it to other data elements...
virtual StatusCode setBatchSize(const size_t size) noexcept=0
Changes the inference batch size.
virtual StatusCode addOutput(const std::string &layerName, size_t outputIndex=0, ResponseDesc *resp=nullptr) noexcept=0
Adds output to the layer.
virtual TargetDevice getTargetDevice() const noexcept=0
Gets the target device. If setTargetDevice() was not called before, returns eDefault.
This is a header file for Inference Engine Extension Interface.
This header file contains aspects of working on different devices like CPU, GEN, FPGA, etc.
A header file for the Inference Engine plugins destruction mechanism.
std::shared_ptr< Data > DataPtr
Smart pointer to Data.
Definition: ie_common.h:50
This is the interface to describe the NN topology scoring statistics.
Definition: ie_icnn_network_stats.hpp:29
virtual StatusCode AddExtension(const IShapeInferExtensionPtr &, ResponseDesc *) noexcept
Registers extension within the plugin.
Definition: ie_icnn_network.hpp:182
std::map< std::string, DataPtr > OutputsDataMap
A collection that contains string as key, and Data smart pointer as value.
Definition: ie_icnn_network.hpp:30
std::map< std::string, SizeVector > InputShapes
Map of pairs: name of corresponding data and its dimension.
Definition: ie_icnn_network.hpp:165
virtual Precision getPrecision() const noexcept=0
Returns the main network operating precision. This may be MIXED if not homogeneous.
virtual void getOutputsInfo(OutputsDataMap &out) const noexcept=0
Gets the network output Data node information. The received info is stored in the given Data node...
This is a header file with common inference engine definitions.
This class holds precision value and provides precision related operations.
Definition: ie_precision.hpp:19
virtual StatusCode serialize(const std::string &xmlPath, const std::string &binPath, ResponseDesc *resp) const noexcept=0
Serialize network to IR and weights files.