The class represents a builder for PriorBox layer. More...
#include <ie_prior_box_layer.hpp>


Public Member Functions | |
| PriorBoxLayer (const std::string &name="") | |
| The constructor creates a builder with the name. More... | |
| PriorBoxLayer (const Layer::Ptr &layer) | |
| The constructor creates a builder from generic builder. More... | |
| PriorBoxLayer (const Layer::CPtr &layer) | |
| The constructor creates a builder from generic builder. More... | |
| PriorBoxLayer & | setName (const std::string &name) |
| Sets the name for the layer. More... | |
| const Port & | getOutputPort () const |
| Returns output port. More... | |
| PriorBoxLayer & | setOutputPort (const Port &port) |
| Sets output port. More... | |
| const std::vector< Port > & | getInputPorts () const |
| Returns input ports. More... | |
| PriorBoxLayer & | setInputPorts (const std::vector< Port > &ports) |
| Sets input ports. More... | |
| size_t | getMinSize () const |
| Returns the minimum box size in pixels. More... | |
| PriorBoxLayer & | setMinSize (size_t minSize) |
| Sets the minimum box size in pixels. More... | |
| size_t | getMaxSize () const |
| Returns the maximum box size in pixels. More... | |
| PriorBoxLayer & | setMaxSize (size_t maxSize) |
| Sets the maximum box size in pixels. More... | |
| float | getStep () const |
| Returns a distance between box centers. More... | |
| PriorBoxLayer & | setStep (float step) |
| Sets a distance between box centers. More... | |
| float | getOffset () const |
| Returns a shift of box respectively to top left corner. More... | |
| PriorBoxLayer & | setOffset (float offset) |
| Sets a shift of box respectively to top left corner. More... | |
| float | getVariance () const |
| Returns a variance of adjusting bounding boxes. More... | |
| PriorBoxLayer & | setVariance (float variance) |
| Sets a variance of adjusting bounding boxes. More... | |
| bool | getScaleAllSizes () const |
| Returns a flag that denotes type of inference. More... | |
| PriorBoxLayer & | setScaleAllSizes (bool flag) |
| Sets a flag that denotes a type of inference. More... | |
| bool | getClip () const |
| Returns clip flag. More... | |
| PriorBoxLayer & | setClip (bool flag) |
| sets clip flag More... | |
| bool | getFlip () const |
| Returns flip flag. More... | |
| PriorBoxLayer & | setFlip (bool flag) |
| Sets flip flag. More... | |
| const std::vector< size_t > | getAspectRatio () const |
| Returns a variance of aspect ratios. More... | |
| PriorBoxLayer & | setAspectRatio (const std::vector< size_t > &aspectRatio) |
| Sets a variance of aspect ratios. 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 PriorBox 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<size_t> InferenceEngine::Builder::PriorBoxLayer::getAspectRatio | ( | ) | const |
Returns a variance of aspect ratios.
| bool InferenceEngine::Builder::PriorBoxLayer::getClip | ( | ) | const |
Returns clip flag.
| bool InferenceEngine::Builder::PriorBoxLayer::getFlip | ( | ) | const |
Returns flip flag.
| const std::vector<Port>& InferenceEngine::Builder::PriorBoxLayer::getInputPorts | ( | ) | const |
Returns input ports.
| size_t InferenceEngine::Builder::PriorBoxLayer::getMaxSize | ( | ) | const |
Returns the maximum box size in pixels.
| size_t InferenceEngine::Builder::PriorBoxLayer::getMinSize | ( | ) | const |
Returns the minimum box size in pixels.
| float InferenceEngine::Builder::PriorBoxLayer::getOffset | ( | ) | const |
Returns a shift of box respectively to top left corner.
| const Port& InferenceEngine::Builder::PriorBoxLayer::getOutputPort | ( | ) | const |
Returns output port.
| bool InferenceEngine::Builder::PriorBoxLayer::getScaleAllSizes | ( | ) | const |
Returns a flag that denotes type of inference.
| float InferenceEngine::Builder::PriorBoxLayer::getStep | ( | ) | const |
Returns a distance between box centers.
| float InferenceEngine::Builder::PriorBoxLayer::getVariance | ( | ) | const |
Returns a variance of adjusting bounding boxes.
| PriorBoxLayer& InferenceEngine::Builder::PriorBoxLayer::setAspectRatio | ( | const std::vector< size_t > & | aspectRatio | ) |
Sets a variance of aspect ratios.
| aspectRatio | Vector of aspect ratios |
| PriorBoxLayer& InferenceEngine::Builder::PriorBoxLayer::setClip | ( | bool | flag | ) |
sets clip flag
| flag | true if each value in the output blob is within [0,1] |
| PriorBoxLayer& InferenceEngine::Builder::PriorBoxLayer::setFlip | ( | bool | flag | ) |
Sets flip flag.
| flag | true if list of boxes is augmented with the flipped ones |
| PriorBoxLayer& InferenceEngine::Builder::PriorBoxLayer::setInputPorts | ( | const std::vector< Port > & | ports | ) |
Sets input ports.
| ports | Vector of input ports |
| PriorBoxLayer& InferenceEngine::Builder::PriorBoxLayer::setMaxSize | ( | size_t | maxSize | ) |
Sets the maximum box size in pixels.
| maxSize | Maximum size |
| PriorBoxLayer& InferenceEngine::Builder::PriorBoxLayer::setMinSize | ( | size_t | minSize | ) |
Sets the minimum box size in pixels.
| minSize | Minimum size |
| PriorBoxLayer& InferenceEngine::Builder::PriorBoxLayer::setName | ( | const std::string & | name | ) |
| PriorBoxLayer& InferenceEngine::Builder::PriorBoxLayer::setOffset | ( | float | offset | ) |
Sets a shift of box respectively to top left corner.
| offset | Shift |
| PriorBoxLayer& InferenceEngine::Builder::PriorBoxLayer::setOutputPort | ( | const Port & | port | ) |
Sets output port.
| port | Output port |
| PriorBoxLayer& InferenceEngine::Builder::PriorBoxLayer::setScaleAllSizes | ( | bool | flag | ) |
Sets a flag that denotes a type of inference.
| flag | max_size is used if true |
| PriorBoxLayer& InferenceEngine::Builder::PriorBoxLayer::setStep | ( | float | step | ) |
Sets a distance between box centers.
| step | Distance |
| PriorBoxLayer& InferenceEngine::Builder::PriorBoxLayer::setVariance | ( | float | variance | ) |
Sets a variance of adjusting bounding boxes.
| variance | Variance |