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;
135 void removeLayer(
idx_t layerId);
149 void disconnect(const
Connection& connection);
156 std::vector<
Layer::
Ptr>& getLayers();
162 const std::vector<
Layer::
Ptr>& getLayers() const;
177 const std::vector<
ILayer::
CPtr> getInputs() const noexcept override;
182 std::vector<
Layer::
Ptr> getInputs();
188 const std::vector<
ILayer::
CPtr> getOutputs() const noexcept override;
193 std::vector<
Layer::
Ptr> getOutputs();
201 const std::vector<
Connection> getLayerConnections(
idx_t layerId) const noexcept override;
207 const std::vector<
Connection>& getConnections() const;
213 const std::
string& getName() const noexcept override;
219 const
Context& getContext() const noexcept override;
224 Context& getContext() noexcept;
247 std::map<std::
string,
Parameter> parameters;
257 INFERENCE_ENGINE_NN_BUILDER_DEPRECATED
258 INFERENCE_ENGINE_API_CPP(const std::shared_ptr<
ICNNNetwork>) convertToICNNNetwork(const
INetwork::CPtr& network);
260 IE_SUPPRESS_DEPRECATED_END
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
std::string name
Layer name.
Definition: ie_layers.h:42
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:43
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:37
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