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...
 
PSROIPoolingLayersetName (const std::string &name)
 Sets the name for the layer. More...
 
const std::vector< Port > & getInputPorts () const
 Returns input ports. More...
 
PSROIPoolingLayersetInputPorts (const std::vector< Port > &ports)
 Sets input ports. More...
 
const PortgetOutputPort () const
 Returns output ports. More...
 
PSROIPoolingLayersetOutputPort (const Port &port)
 Sets output ports. More...
 
float getSpatialScale () const
 Returns multiplicative spatial scale factor to translate ROI coordinates. More...
 
PSROIPoolingLayersetSpatialScale (float spatialScale)
 Sets multiplicative spatial scale factor to translate ROI coordinates. More...
 
size_t getOutputDim () const
 Returns pooled output channel number. More...
 
PSROIPoolingLayersetOutputDim (size_t outDim)
 Sets pooled output channel number. More...
 
size_t getGroupSize () const
 Returns number of groups to encode position-sensitive score maps. More...
 
PSROIPoolingLayersetGroupSize (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...
 
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 PSROIPooling layer.

Deprecated:
Use ngraph API instead.

Constructor & Destructor Documentation

§ PSROIPoolingLayer() [1/3]

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

The constructor creates a builder with the name.

Parameters
nameLayer name

§ PSROIPoolingLayer() [2/3]

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

The constructor creates a builder from generic builder.

Parameters
layerpointer to generic builder

§ PSROIPoolingLayer() [3/3]

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

The constructor creates a builder from generic builder.

Parameters
layerconstant 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
sizeNumber of groups
Returns
reference to layer builder

§ setInputPorts()

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

Sets input ports.

Parameters
portsVector 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
nameLayer name
Returns
reference to layer builder

§ setOutputDim()

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

Sets pooled output channel number.

Parameters
outDimOutput channel number
Returns
reference to layer builder

§ setOutputPort()

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

Sets output ports.

Parameters
portVector 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
spatialScaleSpatial scale factor
Returns
reference to layer builder

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