From 38bb6dc8741a085c727bc37d7fd0f8455601af5f Mon Sep 17 00:00:00 2001 From: cecilia peng Date: Tue, 22 Jun 2021 17:34:34 +0800 Subject: [PATCH] spec revise: add attribute "normalize" to Paddle NMS operators. (#6290) --- docs/ops/sort/MatrixNMS_8.md | 10 ++++++++++ docs/ops/sort/MulticlassNMS_8.md | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/docs/ops/sort/MatrixNMS_8.md b/docs/ops/sort/MatrixNMS_8.md index d3a42230722..b578822d6eb 100644 --- a/docs/ops/sort/MatrixNMS_8.md +++ b/docs/ops/sort/MatrixNMS_8.md @@ -84,6 +84,16 @@ The Matrix NMS algorithm is described below: * **Default value**: `-1` meaning to keep all classes * **Required**: *No* +* *normalized* + + * **Description**: *normalized* is a flag that indicates whether `boxes` are normalized or not. + * **Range of values**: true or false + * *true* - the box coordinates are normalized. + * *false* - the box coordinates are not normalized. + * **Type**: boolean + * **Default value**: True + * **Required**: *No* + * *decay_function* * **Description**: decay function used to decay scores. diff --git a/docs/ops/sort/MulticlassNMS_8.md b/docs/ops/sort/MulticlassNMS_8.md index 16997a81397..866254963fd 100644 --- a/docs/ops/sort/MulticlassNMS_8.md +++ b/docs/ops/sort/MulticlassNMS_8.md @@ -93,6 +93,16 @@ Boxes of `background_class` are skipped and thus eliminated. * **Default value**: `-1` meaning to keep all classes. * **Required**: *No* +* *normalized* + + * **Description**: *normalized* is a flag that indicates whether `boxes` are normalized or not. + * **Range of values**: true or false + * *true* - the box coordinates are normalized. + * *false* - the box coordinates are not normalized. + * **Type**: boolean + * **Default value**: True + * **Required**: *No* + * *nms_eta* * **Description**: eta parameter for adaptive NMS.