The class represents a builder for Resample layer. More...
#include <ie_resample_layer.hpp>
Public Member Functions | |
ResampleLayer (const std::string &name="") | |
The constructor creates a builder with the name. More... | |
ResampleLayer (const Layer::Ptr &layer) | |
The constructor creates a builder from generic builder. More... | |
ResampleLayer (const Layer::CPtr &layer) | |
The constructor creates a builder from generic builder. More... | |
ResampleLayer & | setName (const std::string &name) |
Sets the name for the layer. More... | |
const Port & | getInputPort () const |
Returns input port. More... | |
ResampleLayer & | setInputPort (const Port &ports) |
Sets input port. More... | |
const Port & | getOutputPort () const |
Returns output port. More... | |
ResampleLayer & | setOutputPort (const Port &port) |
Sets output port. More... | |
const std::string & | getResampleType () const |
Returns resample type. More... | |
ResampleLayer & | setResampleType (const std::string &type) |
Sets resample type. More... | |
bool | getAntialias () const |
Returns flag that denotes whether to perform anti-aliasing. More... | |
ResampleLayer & | setAntialias (bool antialias) |
Sets flag that denotes whether to perform anti-aliasing. More... | |
float | getFactor () const |
Returns resample factor. More... | |
ResampleLayer & | setFactor (float factor) |
Sets resample factor. More... | |
size_t | getWidth () const |
Returns width. More... | |
ResampleLayer & | setWidth (size_t width) |
Sets width. More... | |
size_t | getHeight () const |
Returns height. More... | |
ResampleLayer & | setHeight (size_t height) |
Sets height. 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 Resample 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 | const pointer to generic builder |
bool InferenceEngine::Builder::ResampleLayer::getAntialias | ( | ) | const |
Returns flag that denotes whether to perform anti-aliasing.
float InferenceEngine::Builder::ResampleLayer::getFactor | ( | ) | const |
Returns resample factor.
size_t InferenceEngine::Builder::ResampleLayer::getHeight | ( | ) | const |
Returns height.
const Port& InferenceEngine::Builder::ResampleLayer::getInputPort | ( | ) | const |
Returns input port.
const Port& InferenceEngine::Builder::ResampleLayer::getOutputPort | ( | ) | const |
Returns output port.
const std::string& InferenceEngine::Builder::ResampleLayer::getResampleType | ( | ) | const |
Returns resample type.
size_t InferenceEngine::Builder::ResampleLayer::getWidth | ( | ) | const |
Returns width.
ResampleLayer& InferenceEngine::Builder::ResampleLayer::setAntialias | ( | bool | antialias | ) |
Sets flag that denotes whether to perform anti-aliasing.
flag | antialias |
ResampleLayer& InferenceEngine::Builder::ResampleLayer::setFactor | ( | float | factor | ) |
Sets resample factor.
factor | Factor |
ResampleLayer& InferenceEngine::Builder::ResampleLayer::setHeight | ( | size_t | height | ) |
Sets height.
height | Height |
ResampleLayer& InferenceEngine::Builder::ResampleLayer::setInputPort | ( | const Port & | ports | ) |
Sets input port.
ports | Input port |
ResampleLayer& InferenceEngine::Builder::ResampleLayer::setName | ( | const std::string & | name | ) |
ResampleLayer& InferenceEngine::Builder::ResampleLayer::setOutputPort | ( | const Port & | port | ) |
Sets output port.
port | Output port |
ResampleLayer& InferenceEngine::Builder::ResampleLayer::setResampleType | ( | const std::string & | type | ) |
Sets resample type.
type | Type |
ResampleLayer& InferenceEngine::Builder::ResampleLayer::setWidth | ( | size_t | width | ) |
Sets width.
width | Width |