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

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

#include <ie_simpler_nms_layer.hpp>

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

Public Member Functions

  SimplerNMSLayer (const std::string &name="")
  The constructor creates a builder with the name. More...
 
  SimplerNMSLayer (const Layer::Ptr &layer)
  The constructor creates a builder from generic builder. More...
 
  SimplerNMSLayer (const Layer::CPtr &layer)
  The constructor creates a builder from generic builder. More...
 
SimplerNMSLayer setName (const std::string &name)
  Sets the name for the layer. More...
 
const std::vector< Port > &  getInputPorts () const
  Returns input ports. More...
 
SimplerNMSLayer setInputPorts (const std::vector< Port > &ports)
  Sets input ports. More...
 
const Port getOutputPort () const
  Returns output port. More...
 
SimplerNMSLayer setOutputPort (const Port &port)
  Sets output port. More...
 
size_t  getPreNMSTopN () const
  Returns the quantity of bounding boxes before applying NMS. More...
 
SimplerNMSLayer setPreNMSTopN (size_t topN)
  Sets the quantity of bounding boxes before applying NMS. More...
 
size_t  getPostNMSTopN () const
  Returns the quantity of bounding boxes after applying NMS. More...
 
SimplerNMSLayer setPostNMSTopN (size_t topN)
  Sets the quantity of bounding boxes after applying NMS. More...
 
size_t  getFeatStride () const
  Returns the step size to slide over boxes in pixels. More...
 
SimplerNMSLayer setFeatStride (size_t featStride)
  Sets the step size to slide over boxes in pixels. More...
 
size_t  getMinBoxSize () const
  Returns the minimum size of box to be taken into consideration. More...
 
SimplerNMSLayer setMinBoxSize (size_t minSize)
  Sets the minimum size of box to be taken into consideration. More...
 
size_t  getScale () const
  Returns scale for anchor boxes generating. More...
 
SimplerNMSLayer setScale (size_t scale)
  Sets scale for anchor boxes generating. More...
 
float  getCLSThreshold () const
  Returns the minimum value of the proposal to be taken into consideration. More...
 
SimplerNMSLayer setCLSThreshold (float threshold)
  Sets the minimum value of the proposal to be taken into consideration. More...
 
float  getIOUThreshold () const
  Returns the minimum ratio of boxes overlapping to be taken into consideration. More...
 
SimplerNMSLayer setIOUThreshold (float threshold)
  Sets the minimum ratio of boxes overlapping to be taken into consideration. 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 SimplerNMS layer.

Deprecated:
Use ngraph API instead.

Constructor & Destructor Documentation

§ SimplerNMSLayer() [1/3]

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

The constructor creates a builder with the name.

Parameters
name Layer name

§ SimplerNMSLayer() [2/3]

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

The constructor creates a builder from generic builder.

Parameters
layer pointer to generic builder

§ SimplerNMSLayer() [3/3]

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

The constructor creates a builder from generic builder.

Parameters
layer constant pointer to generic builder

Member Function Documentation

§ getCLSThreshold()

float InferenceEngine::Builder::SimplerNMSLayer::getCLSThreshold ( ) const

Returns the minimum value of the proposal to be taken into consideration.

Returns
Threshold

§ getFeatStride()

size_t InferenceEngine::Builder::SimplerNMSLayer::getFeatStride ( ) const

Returns the step size to slide over boxes in pixels.

Returns
Step size

§ getInputPorts()

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

Returns input ports.

Returns
Vector of input ports

§ getIOUThreshold()

float InferenceEngine::Builder::SimplerNMSLayer::getIOUThreshold ( ) const

Returns the minimum ratio of boxes overlapping to be taken into consideration.

Returns
Threshold

§ getMinBoxSize()

size_t InferenceEngine::Builder::SimplerNMSLayer::getMinBoxSize ( ) const

Returns the minimum size of box to be taken into consideration.

Returns
Minimum size

§ getOutputPort()

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

Returns output port.

Returns
Output port

§ getPostNMSTopN()

size_t InferenceEngine::Builder::SimplerNMSLayer::getPostNMSTopN ( ) const

Returns the quantity of bounding boxes after applying NMS.

Returns
Quantity of bounding boxes

§ getPreNMSTopN()

size_t InferenceEngine::Builder::SimplerNMSLayer::getPreNMSTopN ( ) const

Returns the quantity of bounding boxes before applying NMS.

Returns
Quantity of bounding boxes

§ getScale()

size_t InferenceEngine::Builder::SimplerNMSLayer::getScale ( ) const

Returns scale for anchor boxes generating.

Returns
Scale for anchor boxes

§ setCLSThreshold()

SimplerNMSLayer& InferenceEngine::Builder::SimplerNMSLayer::setCLSThreshold ( float  threshold )

Sets the minimum value of the proposal to be taken into consideration.

Parameters
threshold Minimum value
Returns
reference to layer builder

§ setFeatStride()

SimplerNMSLayer& InferenceEngine::Builder::SimplerNMSLayer::setFeatStride ( size_t  featStride )

Sets the step size to slide over boxes in pixels.

Parameters
featStride Step size
Returns
reference to layer builder

§ setInputPorts()

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

Sets input ports.

Parameters
ports Vector of input ports

§ setIOUThreshold()

SimplerNMSLayer& InferenceEngine::Builder::SimplerNMSLayer::setIOUThreshold ( float  threshold )

Sets the minimum ratio of boxes overlapping to be taken into consideration.

Parameters
threshold Minimum value
Returns
reference to layer builder

§ setMinBoxSize()

SimplerNMSLayer& InferenceEngine::Builder::SimplerNMSLayer::setMinBoxSize ( size_t  minSize )

Sets the minimum size of box to be taken into consideration.

Parameters
minSize Minimum size
Returns
reference to layer builder

§ setName()

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

Sets the name for the layer.

Parameters
name Layer name
Returns
reference to layer builder

§ setOutputPort()

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

Sets output port.

Parameters
port Output port
Returns
reference to layer builder

§ setPostNMSTopN()

SimplerNMSLayer& InferenceEngine::Builder::SimplerNMSLayer::setPostNMSTopN ( size_t  topN )

Sets the quantity of bounding boxes after applying NMS.

Parameters
topN Quantity of bounding boxes
Returns
reference to layer builder

§ setPreNMSTopN()

SimplerNMSLayer& InferenceEngine::Builder::SimplerNMSLayer::setPreNMSTopN ( size_t  topN )

Sets the quantity of bounding boxes before applying NMS.

Parameters
topN Quantity of bounding boxes
Returns
reference to layer builder

§ setScale()

SimplerNMSLayer& InferenceEngine::Builder::SimplerNMSLayer::setScale ( size_t  scale )

Sets scale for anchor boxes generating.

Parameters
scale Scale for anchor boxes
Returns
reference to layer builder

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