7 #include <builders/ie_layer_decorator.hpp>
8 #include <ie_network.hpp>
19 IE_SUPPRESS_DEPRECATED_START
20 class INFERENCE_ENGINE_NN_BUILDER_API_CLASS(ProposalLayer):
public LayerDecorator {
26 explicit ProposalLayer(
const std::string& name =
"");
31 explicit ProposalLayer(
const Layer::Ptr& layer);
36 explicit ProposalLayer(
const Layer::CPtr& layer);
42 ProposalLayer& setName(
const std::string& name);
48 const Port& getOutputPort()
const;
54 ProposalLayer& setOutputPort(
const Port& port);
59 const std::vector<Port>& getInputPorts()
const;
65 ProposalLayer& setInputPorts(
const std::vector<Port>& ports);
70 size_t getPostNMSTopN()
const;
76 ProposalLayer& setPostNMSTopN(
size_t topN);
81 size_t getPreNMSTopN()
const;
87 ProposalLayer& setPreNMSTopN(
size_t topN);
92 float getNMSThresh()
const;
98 ProposalLayer& setNMSThresh(
float thresh);
103 size_t getBaseSize()
const;
109 ProposalLayer& setBaseSize(
size_t baseSize);
114 size_t getMinSize()
const;
120 ProposalLayer& setMinSize(
size_t minSize);
125 size_t getFeatStride()
const;
131 ProposalLayer& setFeatStride(
size_t featStride);
136 const std::vector<float> getScale()
const;
142 ProposalLayer& setScale(
const std::vector<float>& scales);
147 const std::vector<float> getRatio()
const;
153 ProposalLayer& setRatio(
const std::vector<float>& ratios);
155 IE_SUPPRESS_DEPRECATED_END
Inference Engine API.
Definition: ie_argmax_layer.hpp:11