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

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

#include <ie_psroi_pooling_layer.hpp>

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

Public Member Functions

  PSROIPoolingLayer (const std::string &name="")
  The constructor creates a builder with the name. More...
 
  PSROIPoolingLayer (const Layer::Ptr &layer)
  The constructor creates a builder from generic builder. More...
 
  PSROIPoolingLayer (const Layer::CPtr &layer)
  The constructor creates a builder from generic builder. More...
 
PSROIPoolingLayer setName (const std::string &name)
  Sets the name for the layer. More...
 
const std::vector< Port > &  getInputPorts () const
  Returns input ports. More...
 
PSROIPoolingLayer setInputPorts (const std::vector< Port > &ports)
  Sets input ports. More...
 
const Port getOutputPort () const
  Returns output ports. More...
 
PSROIPoolingLayer setOutputPort (const Port &port)
  Sets output ports. More...
 
float  getSpatialScale () const
  Returns multiplicative spatial scale factor to translate ROI coordinates. More...
 
PSROIPoolingLayer setSpatialScale (float spatialScale)
  Sets multiplicative spatial scale factor to translate ROI coordinates. More...
 
size_t  getOutputDim () const
  Returns pooled output channel number. More...
 
PSROIPoolingLayer setOutputDim (size_t outDim)
  Sets pooled output channel number. More...
 
size_t  getGroupSize () const
  Returns number of groups to encode position-sensitive score maps. More...
 
PSROIPoolingLayer setGroupSize (size_t size)
  Sets number of groups to encode position-sensitive score maps. 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 PSROIPooling layer.

Constructor & Destructor Documentation

§ PSROIPoolingLayer() [1/3]

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

The constructor creates a builder with the name.

Parameters
name Layer name

§ PSROIPoolingLayer() [2/3]

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

The constructor creates a builder from generic builder.

Parameters
layer pointer to generic builder

§ PSROIPoolingLayer() [3/3]

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

The constructor creates a builder from generic builder.

Parameters
layer constant pointer to generic builder

Member Function Documentation

§ getGroupSize()

size_t InferenceEngine::Builder::PSROIPoolingLayer::getGroupSize ( ) const

Returns number of groups to encode position-sensitive score maps.

Returns
Number of groups

§ getInputPorts()

const std::vector<Port>& InferenceEngine::Builder::PSROIPoolingLayer::getInputPorts ( ) const

Returns input ports.

Returns
Vector of input ports

§ getOutputDim()

size_t InferenceEngine::Builder::PSROIPoolingLayer::getOutputDim ( ) const

Returns pooled output channel number.

Returns
Output channel number

§ getOutputPort()

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

Returns output ports.

Returns
Vector of output ports

§ getSpatialScale()

float InferenceEngine::Builder::PSROIPoolingLayer::getSpatialScale ( ) const

Returns multiplicative spatial scale factor to translate ROI coordinates.

Returns
Spatial scale factor

§ setGroupSize()

PSROIPoolingLayer& InferenceEngine::Builder::PSROIPoolingLayer::setGroupSize ( size_t  size )

Sets number of groups to encode position-sensitive score maps.

Parameters
size Number of groups
Returns
reference to layer builder

§ setInputPorts()

PSROIPoolingLayer& InferenceEngine::Builder::PSROIPoolingLayer::setInputPorts ( const std::vector< Port > &  ports )

Sets input ports.

Parameters
ports Vector of input ports
Returns
reference to layer builder

§ setName()

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

Sets the name for the layer.

Parameters
name Layer name
Returns
reference to layer builder

§ setOutputDim()

PSROIPoolingLayer& InferenceEngine::Builder::PSROIPoolingLayer::setOutputDim ( size_t  outDim )

Sets pooled output channel number.

Parameters
outDim Output channel number
Returns
reference to layer builder

§ setOutputPort()

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

Sets output ports.

Parameters
port Vector of output ports
Returns
reference to layer builder

§ setSpatialScale()

PSROIPoolingLayer& InferenceEngine::Builder::PSROIPoolingLayer::setSpatialScale ( float  spatialScale )

Sets multiplicative spatial scale factor to translate ROI coordinates.

Parameters
spatialScale Spatial scale factor
Returns
reference to layer builder

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