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...
 
LayerDecoratoroperator= (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::PtrgetLayer ()
 
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.

Deprecated:
Use ngraph API instead.

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
typeLayer type
nameLayer 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
layerpointer 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
layerconstant pointer to generic layer builder

§ LayerDecorator() [4/4]

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

The copy constructor.

Parameters
rvalSource 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: