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

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

#include <ie_rnn_sequence_layer.hpp>

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

Public Member Functions

 RNNSequenceLayer (const std::string &name="")
 The constructor creates a builder with the name. More...
 
 RNNSequenceLayer (const Layer::Ptr &layer)
 The constructor creates a builder from generic builder. More...
 
 RNNSequenceLayer (const Layer::CPtr &layer)
 The constructor creates a builder from generic builder. More...
 
RNNSequenceLayersetName (const std::string &name)
 Sets the name for the layer. More...
 
const std::vector< Port > & getInputPorts () const
 Returns input ports with shapes for the layer. More...
 
RNNSequenceLayersetInputPorts (const std::vector< Port > &ports)
 Sets input ports for the layer. More...
 
const std::vector< Port > & getOutputPorts () const
 Returns output ports with shapes for the layer. More...
 
RNNSequenceLayersetOutputPorts (const std::vector< Port > &ports)
 Sets output ports for the layer. More...
 
int getHiddenSize () const
 
RNNSequenceLayersetHiddenSize (int size)
 
bool getSequenceDim () const
 
RNNSequenceLayersetSqquenceDim (bool flag)
 
const std::vector< std::string > & getActivations () const
 
RNNSequenceLayersetActivations (const std::vector< std::string > &activations)
 
const std::vector< float > & getActivationsAlpha () const
 
RNNSequenceLayersetActivationsAlpha (const std::vector< float > &activations)
 
const std::vector< float > & getActivationsBeta () const
 
RNNSequenceLayersetActivationsBeta (const std::vector< float > &activations)
 
float getClip () const
 
RNNSequenceLayersetClip (float clip)
 
- 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 RNNSequence layer.

Deprecated:
Use ngraph API instead.

Constructor & Destructor Documentation

§ RNNSequenceLayer() [1/3]

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

The constructor creates a builder with the name.

Parameters
nameLayer name

§ RNNSequenceLayer() [2/3]

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

The constructor creates a builder from generic builder.

Parameters
layerpointer to generic builder

§ RNNSequenceLayer() [3/3]

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

The constructor creates a builder from generic builder.

Parameters
layerconstant pointer to generic builder

Member Function Documentation

§ getInputPorts()

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

Returns input ports with shapes for the layer.

Returns
Vector of ports

§ getOutputPorts()

const std::vector<Port>& InferenceEngine::Builder::RNNSequenceLayer::getOutputPorts ( ) const

Returns output ports with shapes for the layer.

Returns
Vector of ports

§ setInputPorts()

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

Sets input ports for the layer.

Parameters
portsvector of input ports
Returns
reference to layer builder

§ setName()

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

Sets the name for the layer.

Parameters
nameLayer name
Returns
reference to layer builder

§ setOutputPorts()

RNNSequenceLayer& InferenceEngine::Builder::RNNSequenceLayer::setOutputPorts ( const std::vector< Port > &  ports)

Sets output ports for the layer.

Parameters
portsvector of output ports
Returns
reference to layer builder

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