The class represents a builder for SimplerNMS layer. More...
#include <ie_simpler_nms_layer.hpp>
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 |
The class represents a builder for SimplerNMS 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 |
float InferenceEngine::Builder::SimplerNMSLayer::getCLSThreshold | ( | ) | const |
Returns the minimum value of the proposal to be taken into consideration.
size_t InferenceEngine::Builder::SimplerNMSLayer::getFeatStride | ( | ) | const |
Returns the step size to slide over boxes in pixels.
const std::vector<Port>& InferenceEngine::Builder::SimplerNMSLayer::getInputPorts | ( | ) | const |
Returns input ports.
float InferenceEngine::Builder::SimplerNMSLayer::getIOUThreshold | ( | ) | const |
Returns the minimum ratio of boxes overlapping to be taken into consideration.
size_t InferenceEngine::Builder::SimplerNMSLayer::getMinBoxSize | ( | ) | const |
Returns the minimum size of box to be taken into consideration.
const Port& InferenceEngine::Builder::SimplerNMSLayer::getOutputPort | ( | ) | const |
Returns output port.
size_t InferenceEngine::Builder::SimplerNMSLayer::getPostNMSTopN | ( | ) | const |
Returns the quantity of bounding boxes after applying NMS.
size_t InferenceEngine::Builder::SimplerNMSLayer::getPreNMSTopN | ( | ) | const |
Returns the quantity of bounding boxes before applying NMS.
size_t InferenceEngine::Builder::SimplerNMSLayer::getScale | ( | ) | const |
Returns scale for anchor boxes generating.
SimplerNMSLayer& InferenceEngine::Builder::SimplerNMSLayer::setCLSThreshold | ( | float | threshold | ) |
Sets the minimum value of the proposal to be taken into consideration.
threshold | Minimum value |
SimplerNMSLayer& InferenceEngine::Builder::SimplerNMSLayer::setFeatStride | ( | size_t | featStride | ) |
Sets the step size to slide over boxes in pixels.
featStride | Step size |
SimplerNMSLayer& InferenceEngine::Builder::SimplerNMSLayer::setInputPorts | ( | const std::vector< Port > & | ports | ) |
Sets input ports.
ports | Vector of input ports |
SimplerNMSLayer& InferenceEngine::Builder::SimplerNMSLayer::setIOUThreshold | ( | float | threshold | ) |
Sets the minimum ratio of boxes overlapping to be taken into consideration.
threshold | Minimum value |
SimplerNMSLayer& InferenceEngine::Builder::SimplerNMSLayer::setMinBoxSize | ( | size_t | minSize | ) |
Sets the minimum size of box to be taken into consideration.
minSize | Minimum size |
SimplerNMSLayer& InferenceEngine::Builder::SimplerNMSLayer::setName | ( | const std::string & | name | ) |
SimplerNMSLayer& InferenceEngine::Builder::SimplerNMSLayer::setOutputPort | ( | const Port & | port | ) |
Sets output port.
port | Output port |
SimplerNMSLayer& InferenceEngine::Builder::SimplerNMSLayer::setPostNMSTopN | ( | size_t | topN | ) |
Sets the quantity of bounding boxes after applying NMS.
topN | Quantity of bounding boxes |
SimplerNMSLayer& InferenceEngine::Builder::SimplerNMSLayer::setPreNMSTopN | ( | size_t | topN | ) |
Sets the quantity of bounding boxes before applying NMS.
topN | Quantity of bounding boxes |
SimplerNMSLayer& InferenceEngine::Builder::SimplerNMSLayer::setScale | ( | size_t | scale | ) |
Sets scale for anchor boxes generating.
scale | Scale for anchor boxes |