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

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

#include <ie_roi_pooling_layer.hpp>

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

Public Member Functions

 ROIPoolingLayer (const std::string &name="")
 The constructor creates a builder with the name. More...
 
 ROIPoolingLayer (const Layer::Ptr &layer)
 The constructor creates a builder from generic builder. More...
 
 ROIPoolingLayer (const Layer::CPtr &layer)
 The constructor creates a builder from generic builder. More...
 
ROIPoolingLayersetName (const std::string &name)
 Sets the name for the layer. More...
 
const std::vector< Port > & getInputPorts () const
 Returns input ports. More...
 
ROIPoolingLayersetInputPorts (const std::vector< Port > &ports)
 Sets input ports. More...
 
const PortgetOutputPort () const
 Returns output port. More...
 
ROIPoolingLayersetOutputPort (const Port &port)
 Sets output port. More...
 
float getSpatialScale () const
 Returns a ratio of the input feature map over the input image size. More...
 
ROIPoolingLayersetSpatialScale (float spatialScale)
 Sets a ratio of the input feature map over the input image size. More...
 
const std::vector< int > getPooled () const
 Returns height and width of the ROI output feature map. More...
 
ROIPoolingLayersetPooled (const std::vector< int > &pooled)
 Sets height and width of the ROI output feature map. 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 ROIPooling layer.

Deprecated:
Use ngraph API instead.

Constructor & Destructor Documentation

§ ROIPoolingLayer() [1/3]

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

The constructor creates a builder with the name.

Parameters
nameLayer name

§ ROIPoolingLayer() [2/3]

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

The constructor creates a builder from generic builder.

Parameters
layerpointer to generic builder

§ ROIPoolingLayer() [3/3]

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

The constructor creates a builder from generic builder.

Parameters
layerconstant pointer to generic builder

Member Function Documentation

§ getInputPorts()

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

Returns input ports.

Returns
Vector of input ports

§ getOutputPort()

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

Returns output port.

Returns
Output port

§ getPooled()

const std::vector<int> InferenceEngine::Builder::ROIPoolingLayer::getPooled ( ) const

Returns height and width of the ROI output feature map.

Returns
Vector contains height and width

§ getSpatialScale()

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

Returns a ratio of the input feature map over the input image size.

Returns
Spatial scale

§ setInputPorts()

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

Sets input ports.

Parameters
portsVector of input ports
Returns
reference to layer builder

§ setName()

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

Sets the name for the layer.

Parameters
nameLayer name
Returns
reference to layer builder

§ setOutputPort()

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

Sets output port.

Parameters
portOutput port
Returns
reference to layer builder

§ setPooled()

ROIPoolingLayer& InferenceEngine::Builder::ROIPoolingLayer::setPooled ( const std::vector< int > &  pooled)

Sets height and width of the ROI output feature map.

Parameters
pooledVector with height and width
Returns
reference to layer builder

§ setSpatialScale()

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

Sets a ratio of the input feature map over the input image size.

Parameters
spatialScaleSpatial scale
Returns
reference to layer builder

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