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

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

#include <ie_elu_layer.hpp>

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

Public Member Functions

 ELULayer (const std::string &name="")
 The constructor creates a builder with the name. More...
 
 ELULayer (const Layer::Ptr &layer)
 The constructor creates a builder from generic builder. More...
 
 ELULayer (const Layer::CPtr &layer)
 The constructor creates a builder from generic builder. More...
 
ELULayersetName (const std::string &name)
 Sets the name for the layer. More...
 
const PortgetPort () const
 Returns port with shapes for the layer. More...
 
ELULayersetPort (const Port &port)
 Sets port shapes for the layer. More...
 
float getAlpha () const
 Returns alpha. More...
 
ELULayersetAlpha (float alpha)
 Sets alpha. 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...
 
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...
 

Additional Inherited Members

- Protected Member Functions inherited from InferenceEngine::Builder::LayerDecorator
Layer::PtrgetLayer ()
 
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 ELU layer.

Deprecated:
Use ngraph API instead.

Constructor & Destructor Documentation

§ ELULayer() [1/3]

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

The constructor creates a builder with the name.

Parameters
nameLayer name

§ ELULayer() [2/3]

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

The constructor creates a builder from generic builder.

Parameters
layerpointer to generic builder

§ ELULayer() [3/3]

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

The constructor creates a builder from generic builder.

Parameters
layerconstant pointer to generic builder

Member Function Documentation

§ getAlpha()

float InferenceEngine::Builder::ELULayer::getAlpha ( ) const

Returns alpha.

Returns
alpha

§ getPort()

const Port& InferenceEngine::Builder::ELULayer::getPort ( ) const

Returns port with shapes for the layer.

Returns
Port with shapes

§ setAlpha()

ELULayer& InferenceEngine::Builder::ELULayer::setAlpha ( float  alpha)

Sets alpha.

Parameters
alphaAlpha
Returns
reference to layer builder

§ setName()

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

Sets the name for the layer.

Parameters
nameLayer name
Returns
reference to layer builder

§ setPort()

ELULayer& InferenceEngine::Builder::ELULayer::setPort ( const Port port)

Sets port shapes for the layer.

Parameters
portPort with shapes
Returns
reference to layer builder

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