The class represents a builder for Crop layer. More...
#include <ie_crop_layer.hpp>
Public Member Functions | |
CropLayer (const std::string &name="") | |
The constructor creates a builder with the name. More... |
|
CropLayer (const Layer::Ptr &layer) | |
The constructor creates a builder from generic builder. More... |
|
CropLayer (const Layer::CPtr &layer) | |
The constructor creates a builder from generic builder. More... |
|
CropLayer & | setName (const std::string &name) |
Sets the name for the layer. More... |
|
const std::vector< Port > & | getInputPorts () const |
Returns input ports. More... |
|
CropLayer & | setInputPorts (const std::vector< Port > &ports) |
Sets input ports. More... |
|
const Port & | getOutputPort () const |
Return output port. More... |
|
CropLayer & | setOutputPort (const Port &port) |
Sets output port. More... |
|
const std::vector< size_t > | getAxis () const |
Returns axis. More... |
|
CropLayer & | setAxis (const std::vector< size_t > &axis) |
Sets axis. More... |
|
const std::vector< size_t > | getOffset () const |
Returns offsets. More... |
|
CropLayer & | setOffset (const std::vector< size_t > &offsets) |
Sets offsets. 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 Crop 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<size_t> InferenceEngine::Builder::CropLayer::getAxis | ( | ) | const |
Returns axis.
const std::vector<Port>& InferenceEngine::Builder::CropLayer::getInputPorts | ( | ) | const |
Returns input ports.
const std::vector<size_t> InferenceEngine::Builder::CropLayer::getOffset | ( | ) | const |
Returns offsets.
const Port& InferenceEngine::Builder::CropLayer::getOutputPort | ( | ) | const |
Return output port.
CropLayer& InferenceEngine::Builder::CropLayer::setAxis | ( | const std::vector< size_t > & | axis | ) |
Sets axis.
axis | Vector of axis |
Sets input ports.
port | Vector of input ports |
CropLayer& InferenceEngine::Builder::CropLayer::setName | ( | const std::string & | name | ) |
CropLayer& InferenceEngine::Builder::CropLayer::setOffset | ( | const std::vector< size_t > & | offsets | ) |
Sets offsets.
offsets | Vector of offsets |
Sets output port.
port | Output port |