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

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

#include <ie_resample_layer.hpp>

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

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...
 
ResampleLayersetName (const std::string &name)
 Sets the name for the layer. More...
 
const PortgetInputPort () const
 Returns input port. More...
 
ResampleLayersetInputPort (const Port &ports)
 Sets input port. More...
 
const PortgetOutputPort () const
 Returns output port. More...
 
ResampleLayersetOutputPort (const Port &port)
 Sets output port. More...
 
const std::string & getResampleType () const
 Returns resample type. More...
 
ResampleLayersetResampleType (const std::string &type)
 Sets resample type. More...
 
bool getAntialias () const
 Returns flag that denotes whether to perform anti-aliasing. More...
 
ResampleLayersetAntialias (bool antialias)
 Sets flag that denotes whether to perform anti-aliasing. More...
 
float getFactor () const
 Returns resample factor. More...
 
ResampleLayersetFactor (float factor)
 Sets resample factor. More...
 
size_t getWidth () const
 Returns width. More...
 
ResampleLayersetWidth (size_t width)
 Sets width. More...
 
size_t getHeight () const
 Returns height. More...
 
ResampleLayersetHeight (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...
 
LayerDecoratoroperator= (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::PtrgetLayer ()
 
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 Resample layer.

Deprecated:
Use ngraph API instead.

Constructor & Destructor Documentation

§ ResampleLayer() [1/3]

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

The constructor creates a builder with the name.

Parameters
nameLayer name

§ ResampleLayer() [2/3]

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

The constructor creates a builder from generic builder.

Parameters
layerpointer to generic builder

§ ResampleLayer() [3/3]

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

The constructor creates a builder from generic builder.

Parameters
layerconst pointer to generic builder

Member Function Documentation

§ getAntialias()

bool InferenceEngine::Builder::ResampleLayer::getAntialias ( ) const

Returns flag that denotes whether to perform anti-aliasing.

Returns
true if anti-aliasing is performed

§ getFactor()

float InferenceEngine::Builder::ResampleLayer::getFactor ( ) const

Returns resample factor.

Returns
Factor

§ getHeight()

size_t InferenceEngine::Builder::ResampleLayer::getHeight ( ) const

Returns height.

Returns
Height

§ getInputPort()

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

Returns input port.

Returns
Input port

§ getOutputPort()

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

Returns output port.

Returns
Output port

§ getResampleType()

const std::string& InferenceEngine::Builder::ResampleLayer::getResampleType ( ) const

Returns resample type.

Returns
Type

§ getWidth()

size_t InferenceEngine::Builder::ResampleLayer::getWidth ( ) const

Returns width.

Returns
Width

§ setAntialias()

ResampleLayer& InferenceEngine::Builder::ResampleLayer::setAntialias ( bool  antialias)

Sets flag that denotes whether to perform anti-aliasing.

Parameters
antialiasflag
Returns
reference to layer builder

§ setFactor()

ResampleLayer& InferenceEngine::Builder::ResampleLayer::setFactor ( float  factor)

Sets resample factor.

Parameters
factorFactor
Returns
reference to layer builder

§ setHeight()

ResampleLayer& InferenceEngine::Builder::ResampleLayer::setHeight ( size_t  height)

Sets height.

Parameters
heightHeight
Returns
reference to layer builder

§ setInputPort()

ResampleLayer& InferenceEngine::Builder::ResampleLayer::setInputPort ( const Port ports)

Sets input port.

Parameters
portsInput port
Returns
reference to layer builder

§ setName()

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

Sets the name for the layer.

Parameters
nameLayer name
Returns
reference to layer builder

§ setOutputPort()

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

Sets output port.

Parameters
portOutput port
Returns
reference to layer builder

§ setResampleType()

ResampleLayer& InferenceEngine::Builder::ResampleLayer::setResampleType ( const std::string &  type)

Sets resample type.

Parameters
typeType
Returns
reference to layer builder

§ setWidth()

ResampleLayer& InferenceEngine::Builder::ResampleLayer::setWidth ( size_t  width)

Sets width.

Parameters
widthWidth
Returns
reference to layer builder

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