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...
 
RNNSequenceLayer setName (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...
 
RNNSequenceLayer setInputPorts (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...
 
RNNSequenceLayer setOutputPorts (const std::vector< Port > &ports)
  Sets output ports for the layer. More...
 
int  getHiddenSize () const
 
RNNSequenceLayer setHiddenSize (int size)
 
bool  getSequenceDim () const
 
RNNSequenceLayer setSqquenceDim (bool flag)
 
const std::vector< std::string > &  getActivations () const
 
RNNSequenceLayer setActivations (const std::vector< std::string > &activations)
 
const std::vector< float > &  getActivationsAlpha () const
 
RNNSequenceLayer setActivationsAlpha (const std::vector< float > &activations)
 
const std::vector< float > &  getActivationsBeta () const
 
RNNSequenceLayer setActivationsBeta (const std::vector< float > &activations)
 
float  getClip () const
 
RNNSequenceLayer setClip (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...
 
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...
 

Additional Inherited Members

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

Constructor & Destructor Documentation

§ RNNSequenceLayer() [1/3]

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

The constructor creates a builder with the name.

Parameters
name Layer name

§ RNNSequenceLayer() [2/3]

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

The constructor creates a builder from generic builder.

Parameters
layer pointer to generic builder

§ RNNSequenceLayer() [3/3]

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

The constructor creates a builder from generic builder.

Parameters
layer constant 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
ports vector 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
name Layer name
Returns
reference to layer builder

§ setOutputPorts()

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

Sets output ports for the layer.

Parameters
ports vector of output ports
Returns
reference to layer builder

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