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...
 
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
 

Detailed Description

The class represents a builder for Resample layer.

Constructor & Destructor Documentation

§ ResampleLayer() [1/3]

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

The constructor creates a builder with the name.

Parameters
name Layer name

§ ResampleLayer() [2/3]

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

The constructor creates a builder from generic builder.

Parameters
layer pointer to generic builder

§ ResampleLayer() [3/3]

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

The constructor creates a builder from generic builder.

Parameters
layer const 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
flag antialias
Returns
reference to layer builder

§ setFactor()

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

Sets resample factor.

Parameters
factor Factor
Returns
reference to layer builder

§ setHeight()

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

Sets height.

Parameters
height Height
Returns
reference to layer builder

§ setInputPort()

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

Sets input port.

Parameters
ports Input port
Returns
reference to layer builder

§ setName()

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

Sets the name for the layer.

Parameters
name Layer name
Returns
reference to layer builder

§ setOutputPort()

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

Sets output port.

Parameters
port Output port
Returns
reference to layer builder

§ setResampleType()

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

Sets resample type.

Parameters
type Type
Returns
reference to layer builder

§ setWidth()

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

Sets width.

Parameters
width Width
Returns
reference to layer builder

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