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>

Inheritance diagram for InferenceEngine::ILayer:
Inheritance graph
[legend]

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.

Member Function Documentation

§ getId()

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

Returns a id of the layer.

Returns
Layer id

Implemented in InferenceEngine::Builder::Layer.

§ 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

Implemented in InferenceEngine::Builder::Layer.

§ getName()

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

Returns a layer name.

Returns
Layer name

Implemented in InferenceEngine::Builder::Layer.

§ 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

Implemented in InferenceEngine::Builder::Layer.

§ 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

Returns a layer type.

Returns
Layer type

Implemented in InferenceEngine::Builder::Layer.


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