The class represents a builder for ROIPooling layer. More...
#include <ie_roi_pooling_layer.hpp>
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... |
|
ROIPoolingLayer & | setName (const std::string &name) |
Sets the name for the layer. More... |
|
const std::vector< Port > & | getInputPorts () const |
Returns input ports. More... |
|
ROIPoolingLayer & | setInputPorts (const std::vector< Port > &ports) |
Sets input ports. More... |
|
const Port & | getOutputPort () const |
Returns output port. More... |
|
ROIPoolingLayer & | setOutputPort (const Port &port) |
Sets output port. More... |
|
float | getSpatialScale () const |
Returns a ratio of the input feature map over the input image size. More... |
|
ROIPoolingLayer & | setSpatialScale (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... |
|
ROIPoolingLayer & | setPooled (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... |
|
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 |
The class represents a builder for ROIPooling layer.
|
explicit |
The constructor creates a builder with the name.
name | Layer name |
|
explicit |
The constructor creates a builder from generic builder.
layer | pointer to generic builder |
|
explicit |
The constructor creates a builder from generic builder.
layer | constant pointer to generic builder |
const std::vector<Port>& InferenceEngine::Builder::ROIPoolingLayer::getInputPorts | ( | ) | const |
Returns input ports.
const Port& InferenceEngine::Builder::ROIPoolingLayer::getOutputPort | ( | ) | const |
Returns output port.
const std::vector<int> InferenceEngine::Builder::ROIPoolingLayer::getPooled | ( | ) | const |
Returns height and width of the ROI output feature map.
float InferenceEngine::Builder::ROIPoolingLayer::getSpatialScale | ( | ) | const |
Returns a ratio of the input feature map over the input image size.
ROIPoolingLayer& InferenceEngine::Builder::ROIPoolingLayer::setInputPorts | ( | const std::vector< Port > & | ports | ) |
Sets input ports.
ports | Vector of input ports |
ROIPoolingLayer& InferenceEngine::Builder::ROIPoolingLayer::setName | ( | const std::string & | name | ) |
ROIPoolingLayer& InferenceEngine::Builder::ROIPoolingLayer::setOutputPort | ( | const Port & | port | ) |
Sets output port.
port | Output port |
ROIPoolingLayer& InferenceEngine::Builder::ROIPoolingLayer::setPooled | ( | const std::vector< int > & | pooled | ) |
Sets height and width of the ROI output feature map.
pooled | Vector with height and width |
ROIPoolingLayer& InferenceEngine::Builder::ROIPoolingLayer::setSpatialScale | ( | float | spatialScale | ) |
Sets a ratio of the input feature map over the input image size.
spatialScale | Spatial scale |