This class defines the basic functional for layer builders. More...
#include <ie_layer_decorator.hpp>
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 |
This class defines the basic functional for layer builders.
InferenceEngine::Builder::LayerDecorator::LayerDecorator | ( | const std::string & | type, |
const std::string & | name | ||
) |
|
explicit |
The constructor creates layer builders from reference to generic layer builder.
layer | pointer to generic layer builder |
|
explicit |
The constructor creates layer builders from reference to generic layer builder.
layer | constant pointer to generic layer builder |
InferenceEngine::Builder::LayerDecorator::LayerDecorator | ( | const LayerDecorator & | rval | ) |
The copy constructor.
rval | Source builder |
const std::string& InferenceEngine::Builder::LayerDecorator::getName | ( | ) | const |
Returns layer name.
const std::string& InferenceEngine::Builder::LayerDecorator::getType | ( | ) | const |
Returns layer type.
|
virtual |
The operator creates generic builder.
Reimplemented in InferenceEngine::Builder::PoolingLayer.
|
virtual |
The operator creates generic builder.
|
virtual |
The operator creates generic builder.
LayerDecorator& InferenceEngine::Builder::LayerDecorator::operator= | ( | const LayerDecorator & | rval | ) |