The class represents a builder for Proposal layer. More...
#include <ie_proposal_layer.hpp>


Public Member Functions | |
| ProposalLayer (const std::string &name="") | |
| The constructor creates a builder with the name. More... | |
| ProposalLayer (const Layer::Ptr &layer) | |
| The constructor creates a builder from generic builder. More... | |
| ProposalLayer (const Layer::CPtr &layer) | |
| The constructor creates a builder from generic builder. More... | |
| ProposalLayer & | setName (const std::string &name) |
| Sets the name for the layer. More... | |
| const Port & | getOutputPort () const |
| Returns output port. More... | |
| ProposalLayer & | setOutputPort (const Port &port) |
| Sets output port. More... | |
| const std::vector< Port > & | getInputPorts () const |
| Returns input ports. More... | |
| ProposalLayer & | setInputPorts (const std::vector< Port > &ports) |
| Sets input ports. More... | |
| size_t | getPostNMSTopN () const |
| Returns the quantity of bounding boxes after applying NMS. More... | |
| ProposalLayer & | setPostNMSTopN (size_t topN) |
| Sets the quantity of bounding boxes after applying NMS. More... | |
| size_t | getPreNMSTopN () const |
| Returns the quantity of bounding boxes before applying NMS. More... | |
| ProposalLayer & | setPreNMSTopN (size_t topN) |
| Sets the quantity of bounding boxes before applying NMS. More... | |
| float | getNMSThresh () const |
| Returns minimum value of the proposal to be taken into consideration. More... | |
| ProposalLayer & | setNMSThresh (float thresh) |
| Sets minimum value of the proposal to be taken into consideration. More... | |
| size_t | getBaseSize () const |
| Returns base size for anchor generation. More... | |
| ProposalLayer & | setBaseSize (size_t baseSize) |
| Sets base size for anchor generation. More... | |
| size_t | getMinSize () const |
| Returns minimum size of box to be taken into consideration. More... | |
| ProposalLayer & | setMinSize (size_t minSize) |
| Sets minimum size of box to be taken into consideration. More... | |
| size_t | getFeatStride () const |
| Returns step size to slide over boxes in pixels. More... | |
| ProposalLayer & | setFeatStride (size_t featStride) |
| Sets step size to slide over boxes in pixels. More... | |
| const std::vector< float > | getScale () const |
| Returns scales for anchor generation. More... | |
| ProposalLayer & | setScale (const std::vector< float > &scales) |
| Sets scales for anchor generation. More... | |
| const std::vector< float > | getRatio () const |
| Returns ratios for anchor generation. More... | |
| ProposalLayer & | setRatio (const std::vector< float > &ratios) |
| Sets ratios for anchor generation. 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 Proposal 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 |
| size_t InferenceEngine::Builder::ProposalLayer::getBaseSize | ( | ) | const |
Returns base size for anchor generation.
| size_t InferenceEngine::Builder::ProposalLayer::getFeatStride | ( | ) | const |
Returns step size to slide over boxes in pixels.
| const std::vector<Port>& InferenceEngine::Builder::ProposalLayer::getInputPorts | ( | ) | const |
Returns input ports.
| size_t InferenceEngine::Builder::ProposalLayer::getMinSize | ( | ) | const |
Returns minimum size of box to be taken into consideration.
| float InferenceEngine::Builder::ProposalLayer::getNMSThresh | ( | ) | const |
Returns minimum value of the proposal to be taken into consideration.
| const Port& InferenceEngine::Builder::ProposalLayer::getOutputPort | ( | ) | const |
Returns output port.
| size_t InferenceEngine::Builder::ProposalLayer::getPostNMSTopN | ( | ) | const |
Returns the quantity of bounding boxes after applying NMS.
| size_t InferenceEngine::Builder::ProposalLayer::getPreNMSTopN | ( | ) | const |
Returns the quantity of bounding boxes before applying NMS.
| const std::vector<float> InferenceEngine::Builder::ProposalLayer::getRatio | ( | ) | const |
Returns ratios for anchor generation.
| const std::vector<float> InferenceEngine::Builder::ProposalLayer::getScale | ( | ) | const |
Returns scales for anchor generation.
| ProposalLayer& InferenceEngine::Builder::ProposalLayer::setBaseSize | ( | size_t | baseSize | ) |
Sets base size for anchor generation.
| baseSize | Base size for anchor generation |
| ProposalLayer& InferenceEngine::Builder::ProposalLayer::setFeatStride | ( | size_t | featStride | ) |
Sets step size to slide over boxes in pixels.
| featStride | Step size |
| ProposalLayer& InferenceEngine::Builder::ProposalLayer::setInputPorts | ( | const std::vector< Port > & | ports | ) |
Sets input ports.
| ports | Vector of input ports |
| ProposalLayer& InferenceEngine::Builder::ProposalLayer::setMinSize | ( | size_t | minSize | ) |
Sets minimum size of box to be taken into consideration.
| minSize | Minimum size of the box |
| ProposalLayer& InferenceEngine::Builder::ProposalLayer::setName | ( | const std::string & | name | ) |
| ProposalLayer& InferenceEngine::Builder::ProposalLayer::setNMSThresh | ( | float | thresh | ) |
Sets minimum value of the proposal to be taken into consideration.
| thresh | Threshold |
| ProposalLayer& InferenceEngine::Builder::ProposalLayer::setOutputPort | ( | const Port & | port | ) |
Sets output port.
| port | Output port |
| ProposalLayer& InferenceEngine::Builder::ProposalLayer::setPostNMSTopN | ( | size_t | topN | ) |
Sets the quantity of bounding boxes after applying NMS.
| topN | Quantity of bounding boxes |
| ProposalLayer& InferenceEngine::Builder::ProposalLayer::setPreNMSTopN | ( | size_t | topN | ) |
Sets the quantity of bounding boxes before applying NMS.
| topN | Quantity of bounding boxes |
| ProposalLayer& InferenceEngine::Builder::ProposalLayer::setRatio | ( | const std::vector< float > & | ratios | ) |
Sets ratios for anchor generation.
| ratios | Vector of scales |
| ProposalLayer& InferenceEngine::Builder::ProposalLayer::setScale | ( | const std::vector< float > & | scales | ) |
Sets scales for anchor generation.
| scales | Vector of scales |