Public Types | Public Member Functions
InferenceEngine::ILayer Class Referenceabstract

This class is the main interface to describe the Inference Engine layer. All methods here are constant and do not throw exceptions. More...

#include <ie_network.hpp>

Public Types

using  CPtr = std::shared_ptr< const ILayer >
  A shared pointer to the const ILayer object.
 

Public Member Functions

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...
 

Detailed Description

This class is the main interface to describe the Inference Engine layer. All methods here are constant and do not throw exceptions.

Deprecated:
Use ngraph API instead.

Member Function Documentation

§ getId()

virtual idx_t InferenceEngine::ILayer::getId ( ) const
pure virtualnoexcept

Returns a id of the layer.

Returns
Layer id

§ getInputPorts()

virtual const std::vector<Port>& InferenceEngine::ILayer::getInputPorts ( ) const
pure virtualnoexcept

Returns a constant reference to a vector with input ports.

Returns
Vector of input ports

§ getName()

virtual const std::string& InferenceEngine::ILayer::getName ( ) const
pure virtualnoexcept

Returns a layer name.

Returns
Layer name

§ getOutputPorts()

virtual const std::vector<Port>& InferenceEngine::ILayer::getOutputPorts ( ) const
pure virtualnoexcept

Returns a constant reference to a vector with output ports.

Returns
Vector of output ports

§ 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

§ getType()

virtual const std::string& InferenceEngine::ILayer::getType ( ) const
pure virtualnoexcept

Returns a layer type.

Returns
Layer type

The documentation for this class was generated from the following file: