This class is the main interface to describe the Inference Engine layer.
More...
#include <ie_network.hpp>
|
using | CPtr = std::shared_ptr< const ILayer > |
| A shared pointer to the const ILayer object.
|
|
|
virtual | ~ILayer ()=default |
| Virtual destructor for the layer interface.
|
|
virtual idx_t | getId () const noexcept=0 |
| Returns a id of the layer. More...
|
|
virtual const std::string & | getName () const noexcept=0 |
| Returns a layer name. More...
|
|
virtual const std::string & | getType () const noexcept=0 |
| Returns a layer type. More...
|
|
virtual const std::map< std::string, Parameter > & | getParameters () const noexcept=0 |
| Returns a constant smart pointer reference to a Parameters interface. More...
|
|
virtual const std::vector< Port > & | getInputPorts () const noexcept=0 |
| Returns a constant reference to a vector with input ports. More...
|
|
virtual const std::vector< Port > & | getOutputPorts () const noexcept=0 |
| Returns a constant reference to a vector with output ports. More...
|
|
This class is the main interface to describe the Inference Engine layer.
- Deprecated:
- Use ngraph API instead.
All methods here are constant and do not throw exceptions.
§ getId()
virtual idx_t InferenceEngine::ILayer::getId |
( |
| ) |
const |
|
pure virtualnoexcept |
§ getInputPorts()
virtual const std::vector<Port>& InferenceEngine::ILayer::getInputPorts |
( |
| ) |
const |
|
pure virtualnoexcept |
§ getName()
virtual const std::string& InferenceEngine::ILayer::getName |
( |
| ) |
const |
|
pure virtualnoexcept |
§ getOutputPorts()
virtual const std::vector<Port>& InferenceEngine::ILayer::getOutputPorts |
( |
| ) |
const |
|
pure virtualnoexcept |
§ getParameters()
virtual const std::map<std::string, Parameter>& InferenceEngine::ILayer::getParameters |
( |
| ) |
const |
|
pure virtualnoexcept |
Returns a constant smart pointer reference to a Parameters interface.
- Returns
- Parameters interface smart pointer
Implemented in InferenceEngine::Builder::Layer.
§ getType()
virtual const std::string& InferenceEngine::ILayer::getType |
( |
| ) |
const |
|
pure virtualnoexcept |
The documentation for this class was generated from the following file: