7 #include <builders/ie_layer_fragment.hpp>
18 class INFERENCE_ENGINE_API_CLASS(DetectionOutputLayer):
public LayerFragment {
24 explicit DetectionOutputLayer(
const std::string& name =
"");
29 explicit DetectionOutputLayer(Layer& genLayer);
35 DetectionOutputLayer& setName(
const std::string& name);
41 const Port& getOutputPort()
const;
47 DetectionOutputLayer& setOutputPort(
const Port& port);
52 const std::vector<Port>& getInputPorts()
const;
58 DetectionOutputLayer& setInputPorts(
const std::vector<Port>& ports);
63 size_t getNumClasses()
const;
69 DetectionOutputLayer& setNumClasses(
size_t num);
74 int getBackgroudLabelId()
const;
80 DetectionOutputLayer& setBackgroudLabelId(
int labelId);
91 DetectionOutputLayer& setTopK(
int topK);
96 int getKeepTopK()
const;
102 DetectionOutputLayer& setKeepTopK(
int topK);
107 int getNumOrientClasses()
const;
113 DetectionOutputLayer& setNumOrientClasses(
int numClasses);
118 std::string getCodeType()
const;
124 DetectionOutputLayer& setCodeType(std::string type);
129 int getInterpolateOrientation()
const;
135 DetectionOutputLayer& setInterpolateOrientation(
int orient);
140 float getNMSThreshold()
const;
146 DetectionOutputLayer& setNMSThreshold(
float threshold);
151 float getConfidenceThreshold()
const;
157 DetectionOutputLayer& setConfidenceThreshold(
float threshold);
162 bool getShareLocation()
const;
168 DetectionOutputLayer& setShareLocation(
bool flag);
173 bool getVariantEncodedInTarget()
const;
179 DetectionOutputLayer& setVariantEncodedInTarget(
bool flag);
Definition: ie_argmax_layer.hpp:11
a header file for the Inference Engine Network interface