32 IE_SUPPRESS_DEPRECATED_START
33 class INFERENCE_ENGINE_NN_BUILDER_API_CLASS(Network):
public INetwork {
38 using Ptr = std::shared_ptr<Network>;
42 using iterator = details::INetworkIterator<Network, Layer>;
70 size_t size() const noexcept override;
83 explicit
Network(const std::
string& name);
132 void removeLayer(
idx_t layerId);
146 void disconnect(const
Connection& connection);
153 std::vector<
Layer::
Ptr>& getLayers();
159 const std::vector<
Layer::
Ptr>& getLayers() const;
174 const std::vector<
ILayer::
CPtr> getInputs() const noexcept override;
179 std::vector<
Layer::
Ptr> getInputs();
185 const std::vector<
ILayer::
CPtr> getOutputs() const noexcept override;
190 std::vector<
Layer::
Ptr> getOutputs();
198 const std::vector<
Connection> getLayerConnections(
idx_t layerId) const noexcept override;
204 const std::vector<
Connection>& getConnections() const;
210 const std::
string& getName() const noexcept override;
216 const
Context& getContext() const noexcept override;
221 Context& getContext() noexcept;
244 std::map<std::
string,
Parameter> parameters;
254 INFERENCE_ENGINE_NN_BUILDER_DEPRECATED
257 IE_SUPPRESS_DEPRECATED_END
const std::shared_ptr< ICNNNetwork > convertToICNNNetwork(const INetwork::CPtr &network)
This function converts INetwork to ICNNNetwork.
A header file that provides wrapper for ICNNNetwork object.
This class implements a builder for IE Layer.
Definition: ie_layer_builder.hpp:43
Inference Engine API.
Definition: ie_argmax_layer.hpp:15
This class implements object.
Definition: ie_context.hpp:25
A header file for Blob and generic TBlob<>
details::INetworkIterator< Network, Layer > iterator
An iterator for Network builder definition.
Definition: ie_network_builder.hpp:42
This is a header file for the ICNNNetwork class.
std::shared_ptr< const INetwork > CPtr
A shared pointer to the constant INetwork object.
Definition: ie_network.hpp:428
This class implements a builder for IE Network.
Definition: ie_network_builder.hpp:33
This is the main interface to describe the NN topology.
Definition: ie_icnn_network.hpp:42
size_t idx_t
A type of network objects indexes.
Definition: ie_network.hpp:29
This class is the main interface to describe the Inference Engine network.
Definition: ie_network.hpp:421
details::INetworkIterator< const INetwork, const ILayer > const_iterator
A constant iterator for INetwork definition.
Definition: ie_network.hpp:432
This class is the main interface to describe the Inference Engine layer.
Definition: ie_network.hpp:346
a header file for the Inference Engine Network interface
This class represents an object to work with different parameters.
Definition: ie_parameter.hpp:38
This is a header file for the IE Context class.
This class is the main object to describe the Inference Engine connection.
Definition: ie_network.hpp:103
This class contains a pair from layerId and port index.
Definition: ie_network.hpp:35
This is a header file with common inference engine definitions.
std::shared_ptr< Network > Ptr
A shared pointer to the Network builder.
Definition: ie_network_builder.hpp:38