Public Member Functions
InferenceEngine::Builder::ConcatLayer Class Reference

The class represents a builder for Concat layer. More...

#include <ie_concat_layer.hpp>

Inheritance diagram for InferenceEngine::Builder::ConcatLayer:
Inheritance graph
[legend]
Collaboration diagram for InferenceEngine::Builder::ConcatLayer:
Collaboration graph
[legend]

Public Member Functions

  ConcatLayer (const std::string &name="")
  The constructor creates a builder with the name. More...
 
  ConcatLayer (const Layer::Ptr &layer)
  The constructor creates a builder from generic builder. More...
 
  ConcatLayer (const Layer::CPtr &layer)
  The constructor creates a builder from generic builder. More...
 
ConcatLayer setName (const std::string &name)
  Sets the name for the layer. More...
 
const std::vector< Port > &  getInputPorts () const
  Returns vector with input ports. More...
 
ConcatLayer setInputPorts (const std::vector< Port > &ports)
  Sets input ports. More...
 
const Port getOutputPort () const
  Returns output port. More...
 
ConcatLayer setOutputPort (const Port &port)
  Sets output port. More...
 
size_t  getAxis () const
  Returns axis. More...
 
ConcatLayer setAxis (size_t axis)
  Sets axis. More...
 
- Public Member Functions inherited from InferenceEngine::Builder::LayerDecorator
  LayerDecorator (const std::string &type, const std::string &name)
  The constructor creates layer builders with layer type and layer name. More...
 
  LayerDecorator (const Layer::Ptr &layer)
  The constructor creates layer builders from reference to generic layer builder. More...
 
  LayerDecorator (const Layer::CPtr &layer)
  The constructor creates layer builders from reference to generic layer builder. More...
 
  LayerDecorator (const LayerDecorator &rval)
  The copy constructor. More...
 
LayerDecorator operator= (const LayerDecorator &rval)
  Copy operator for LayerDecorator. More...
 
virtual  ~LayerDecorator ()=default
  Virtual destructor.
 
virtual  operator Layer () const
  The operator creates generic builder. More...
 
virtual  operator Layer::Ptr ()
  The operator creates generic builder. More...
 
virtual  operator Layer::CPtr () const
  The operator creates generic builder. More...
 
const std::string &  getType () const
  Returns layer type. More...
 
const std::string &  getName () const
  Returns layer name. More...
 

Additional Inherited Members

- Protected Member Functions inherited from InferenceEngine::Builder::LayerDecorator
Layer::Ptr getLayer ()
 
const Layer::CPtr  getLayer () const
 
void  checkType (const std::string &type) const
 
- Protected Attributes inherited from InferenceEngine::Builder::LayerDecorator
Layer::CPtr  cLayer
 

Detailed Description

The class represents a builder for Concat layer.

Constructor & Destructor Documentation

§ ConcatLayer() [1/3]

InferenceEngine::Builder::ConcatLayer::ConcatLayer ( const std::string &  name = "" )
explicit

The constructor creates a builder with the name.

Parameters
name Layer name

§ ConcatLayer() [2/3]

InferenceEngine::Builder::ConcatLayer::ConcatLayer ( const Layer::Ptr layer )
explicit

The constructor creates a builder from generic builder.

Parameters
layer pointer to generic builder

§ ConcatLayer() [3/3]

InferenceEngine::Builder::ConcatLayer::ConcatLayer ( const Layer::CPtr layer )
explicit

The constructor creates a builder from generic builder.

Parameters
layer constant pointer to generic builder

Member Function Documentation

§ getAxis()

size_t InferenceEngine::Builder::ConcatLayer::getAxis ( ) const

Returns axis.

Returns
Axis

§ getInputPorts()

const std::vector<Port>& InferenceEngine::Builder::ConcatLayer::getInputPorts ( ) const

Returns vector with input ports.

Returns
vector with ports

§ getOutputPort()

const Port& InferenceEngine::Builder::ConcatLayer::getOutputPort ( ) const

Returns output port.

Returns
Output port

§ setAxis()

ConcatLayer& InferenceEngine::Builder::ConcatLayer::setAxis ( size_t  axis )

Sets axis.

Parameters
axis Axis
Returns
reference to layer builder

§ setInputPorts()

ConcatLayer& InferenceEngine::Builder::ConcatLayer::setInputPorts ( const std::vector< Port > &  ports )

Sets input ports.

Parameters
ports Vector of input ports
Returns
reference to layer builder

§ setName()

ConcatLayer& InferenceEngine::Builder::ConcatLayer::setName ( const std::string &  name )

Sets the name for the layer.

Parameters
name Layer name
Returns
reference to layer builder

§ setOutputPort()

ConcatLayer& InferenceEngine::Builder::ConcatLayer::setOutputPort ( const Port port )

Sets output port.

Parameters
port Output port
Returns
reference to layer builder

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