The class represents a builder for Reshape layer. More...
#include <ie_reshape_layer.hpp>
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 |
The class represents a builder for Reshape layer.
|
explicit |
The constructor creates a builder with the name.
name | Layer name |
|
explicit |
The constructor creates a builder from generic builder.
layer | pointer to generic builder |
|
explicit |
The constructor creates a builder from generic builder.
layer | constant pointer to generic builder |
const std::vector<int> InferenceEngine::Builder::ReshapeLayer::getDims | ( | ) | const |
Returns reshape dimensions.
const Port& InferenceEngine::Builder::ReshapeLayer::getInputPort | ( | ) | const |
Returns input port.
const Port& InferenceEngine::Builder::ReshapeLayer::getOutputPort | ( | ) | const |
Returns output port.
ReshapeLayer& InferenceEngine::Builder::ReshapeLayer::setDims | ( | const std::vector< int > & | dims | ) |
Sets reshape dimensions.
dims | Dimensions |
ReshapeLayer& InferenceEngine::Builder::ReshapeLayer::setInputPort | ( | const Port & | port | ) |
Sets input port.
port | Input port |
ReshapeLayer& InferenceEngine::Builder::ReshapeLayer::setName | ( | const std::string & | name | ) |
ReshapeLayer& InferenceEngine::Builder::ReshapeLayer::setOutputPort | ( | const Port & | port | ) |
Sets output port.
port | Output port |