Constructor NonMaxSuppression
NonMaxSuppression(string, string, string, string, string, string, CenterPointBox)
Initializes and returns an instance of NonMaxSuppression
object detection layer.
Declaration
public NonMaxSuppression(string name, string boxes, string scores, string maxOutputBoxesPerClass = null, string iouThreshold = null, string scoreThreshold = null, CenterPointBox centerPointBox = CenterPointBox.Corners)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name to use for the output tensor of the layer. |
string | boxes | The name to use for the boxes tensor of the layer. |
string | scores | The name to use for the scores tensor of the layer. |
string | maxOutputBoxesPerClass | The name to use for an optional scalar tensor, with the maximum number of boxes to return for each class. |
string | iouThreshold | The name to use for optional scalar tensor, with the threshold above which the intersect-over-union rejects a box. |
string | scoreThreshold | The name to use for an optional scalar tensor, with the threshold below which the box score filters a box from the output. |
CenterPointBox | centerPointBox | The format the |