Public Member Functions | Protected Member Functions | Protected Attributes
InferenceEngine::Builder::LayerDecorator Class Reference

This class defines the basic functional for layer builders. More...

#include <ie_layer_decorator.hpp>

Inheritance diagram for InferenceEngine::Builder::LayerDecorator:
Inheritance graph
[legend]

Public Member Functions

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

Protected Member Functions

Layer::Ptr getLayer ()
 
const Layer::CPtr  getLayer () const
 
void  checkType (const std::string &type) const
 

Protected Attributes

Layer::CPtr  cLayer
 

Detailed Description

This class defines the basic functional for layer builders.

Constructor & Destructor Documentation

§ LayerDecorator() [1/4]

InferenceEngine::Builder::LayerDecorator::LayerDecorator ( const std::string &  type,
const std::string &  name 
)

The constructor creates layer builders with layer type and layer name.

Parameters
type Layer type
name Layer name

§ LayerDecorator() [2/4]

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

The constructor creates layer builders from reference to generic layer builder.

Parameters
layer pointer to generic layer builder

§ LayerDecorator() [3/4]

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

The constructor creates layer builders from reference to generic layer builder.

Parameters
layer constant pointer to generic layer builder

§ LayerDecorator() [4/4]

InferenceEngine::Builder::LayerDecorator::LayerDecorator ( const LayerDecorator rval )

The copy constructor.

Parameters
rval Source builder

Member Function Documentation

§ getName()

const std::string& InferenceEngine::Builder::LayerDecorator::getName ( ) const

Returns layer name.

Returns
Layer name

§ getType()

const std::string& InferenceEngine::Builder::LayerDecorator::getType ( ) const

Returns layer type.

Returns
Layer type

§ operator Layer()

virtual InferenceEngine::Builder::LayerDecorator::operator Layer ( ) const
virtual

The operator creates generic builder.

Returns
Generic builder

Reimplemented in InferenceEngine::Builder::PoolingLayer.

§ operator Layer::CPtr()

virtual InferenceEngine::Builder::LayerDecorator::operator Layer::CPtr ( ) const
virtual

The operator creates generic builder.

Returns
Constant pointer to generic builder

§ operator Layer::Ptr()

virtual InferenceEngine::Builder::LayerDecorator::operator Layer::Ptr ( )
virtual

The operator creates generic builder.

Returns
Pointer to generic builder

§ operator=()

LayerDecorator& InferenceEngine::Builder::LayerDecorator::operator= ( const LayerDecorator rval )

Copy operator for LayerDecorator.

Parameters
rval
Returns
Layer builder

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