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

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

#include <ie_gru_sequence_layer.hpp>

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

Public Member Functions

  GRUSequenceLayer (const std::string &name="")
  The constructor creates a builder with the name. More...
 
  GRUSequenceLayer (const Layer::Ptr &layer)
  The constructor creates a builder from generic builder. More...
 
  GRUSequenceLayer (const Layer::CPtr &layer)
  The constructor creates a builder from generic builder. More...
 
GRUSequenceLayer 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...
 
GRUSequenceLayer 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...
 
GRUSequenceLayer setOutputPorts (const std::vector< Port > &ports)
  Sets output ports for the layer. More...
 
int  getHiddenSize () const
 
GRUSequenceLayer setHiddenSize (int size)
 
bool  getSequenceDim () const
 
GRUSequenceLayer setSqquenceDim (bool flag)
 
const std::vector< std::string > &  getActivations () const
 
GRUSequenceLayer setActivations (const std::vector< std::string > &activations)
 
const std::vector< float > &  getActivationsAlpha () const
 
GRUSequenceLayer setActivationsAlpha (const std::vector< float > &activations)
 
const std::vector< float > &  getActivationsBeta () const
 
GRUSequenceLayer setActivationsBeta (const std::vector< float > &activations)
 
float  getClip () const
 
GRUSequenceLayer setClip (float clip)
 
bool  getLinearBeforeReset () const
 
GRUSequenceLayer setLinearBeforeReset (bool flag)
 
const std::string &  getDirection () const
 
GRUSequenceLayer setDirection (const std::string &direction)
 
- 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 GRUSequence layer.

Constructor & Destructor Documentation

§ GRUSequenceLayer() [1/3]

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

The constructor creates a builder with the name.

Parameters
name Layer name

§ GRUSequenceLayer() [2/3]

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

The constructor creates a builder from generic builder.

Parameters
layer pointer to generic builder

§ GRUSequenceLayer() [3/3]

InferenceEngine::Builder::GRUSequenceLayer::GRUSequenceLayer ( 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::GRUSequenceLayer::getInputPorts ( ) const

Returns input ports with shapes for the layer.

Returns
Vector of ports

§ getOutputPorts()

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

Returns output ports with shapes for the layer.

Returns
Vector of ports

§ setInputPorts()

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

Sets input ports for the layer.

Parameters
ports vector of input ports
Returns
reference to layer builder

§ setName()

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

Sets the name for the layer.

Parameters
name Layer name
Returns
reference to layer builder

§ setOutputPorts()

GRUSequenceLayer& InferenceEngine::Builder::GRUSequenceLayer::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: