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

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

#include <ie_reshape_layer.hpp>

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

Public Member Functions

  ReshapeLayer (const std::string &name="")
  The constructor creates a builder with the name. More...
 
  ReshapeLayer (const Layer::Ptr &layer)
  The constructor creates a builder from generic builder. More...
 
  ReshapeLayer (const Layer::CPtr &layer)
  The constructor creates a builder from generic builder. More...
 
ReshapeLayer setName (const std::string &name)
  Sets the name for the layer. More...
 
const Port getInputPort () const
  Returns input port. More...
 
ReshapeLayer setInputPort (const Port &port)
  Sets input port. More...
 
const Port getOutputPort () const
  Returns output port. More...
 
ReshapeLayer setOutputPort (const Port &port)
  Sets output port. More...
 
const std::vector< int >  getDims () const
  Returns reshape dimensions. More...
 
ReshapeLayer setDims (const std::vector< int > &dims)
  Sets reshape dimensions. 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...
 
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 Reshape layer.

Deprecated:
Use ngraph API instead.

Constructor & Destructor Documentation

§ ReshapeLayer() [1/3]

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

The constructor creates a builder with the name.

Parameters
name Layer name

§ ReshapeLayer() [2/3]

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

The constructor creates a builder from generic builder.

Parameters
layer pointer to generic builder

§ ReshapeLayer() [3/3]

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

The constructor creates a builder from generic builder.

Parameters
layer constant pointer to generic builder

Member Function Documentation

§ getDims()

const std::vector<int> InferenceEngine::Builder::ReshapeLayer::getDims ( ) const

Returns reshape dimensions.

Returns
Dimensions

§ getInputPort()

const Port& InferenceEngine::Builder::ReshapeLayer::getInputPort ( ) const

Returns input port.

Returns
Input port

§ getOutputPort()

const Port& InferenceEngine::Builder::ReshapeLayer::getOutputPort ( ) const

Returns output port.

Returns
Output port

§ setDims()

ReshapeLayer& InferenceEngine::Builder::ReshapeLayer::setDims ( const std::vector< int > &  dims )

Sets reshape dimensions.

Parameters
dims Dimensions
Returns
reference to layer builder

§ setInputPort()

ReshapeLayer& InferenceEngine::Builder::ReshapeLayer::setInputPort ( const Port port )

Sets input port.

Parameters
port Input port
Returns
reference to layer builder

§ setName()

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

Sets the name for the layer.

Parameters
name Layer name
Returns
reference to layer builder

§ setOutputPort()

ReshapeLayer& InferenceEngine::Builder::ReshapeLayer::setOutputPort ( const Port port )

Sets output port.

Parameters
port Output port
Returns
reference to layer builder

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