This class is the main interface to describe the Inference Engine network.
More...
#include <ie_network.hpp>
This class is the main interface to describe the Inference Engine network.
- Deprecated:
- Use ngraph API instead.
All methods here are constant and do not throw exceptions.
§ begin()
Begin network iterator.
- Returns
- const INetwork iterator
§ end()
End network iterator.
- Returns
- const INetwork iterator
§ getContext()
virtual const Context& InferenceEngine::INetwork::getContext |
( |
|
) |
const |
|
pure virtualnoexcept |
Returns a network context.
- Returns
- const reference to Context
§ getInputs()
virtual const std::vector<ILayer::CPtr> InferenceEngine::INetwork::getInputs |
( |
|
) |
const |
|
pure virtualnoexcept |
Returns a constant vector of input layers.
- Returns
- Vector of input layers
§ getLayer()
Returns a constant smart pointer to a Layer interface. If the layer is missing, returns nullptr.
- Parameters
-
- Returns
- Layer interface smart pointer
§ getLayerConnections()
virtual const std::vector<Connection> InferenceEngine::INetwork::getLayerConnections |
( |
idx_t |
layerId |
) |
const |
|
pure virtualnoexcept |
Returns a constant vector of connections for specific layer. If the layer is missing, returns empty vector.
- Parameters
-
- Returns
- Vector of connections
§ getName()
virtual const std::string& InferenceEngine::INetwork::getName |
( |
|
) |
const |
|
pure virtualnoexcept |
Returns a network name.
- Returns
- Network name
§ getOutputs()
virtual const std::vector<ILayer::CPtr> InferenceEngine::INetwork::getOutputs |
( |
|
) |
const |
|
pure virtualnoexcept |
Returns a constant vector of output layers.
- Returns
- Vector of output layers
§ size()
virtual size_t InferenceEngine::INetwork::size |
( |
|
) |
const |
|
pure virtualnoexcept |
Returns a number of layers in the network.
- Returns
- Layers count
The documentation for this class was generated from the following file: