diff --git a/develop/doc/api/v2/config/layer.html b/develop/doc/api/v2/config/layer.html
index 8253ce86f883a339508711d5b8997dadb2860386..6eaa3f8156737d8bb6bf4fd716cb2f12453bad2c 100644
--- a/develop/doc/api/v2/config/layer.html
+++ b/develop/doc/api/v2/config/layer.html
@@ -4117,8 +4117,8 @@ paddle.v2.attr.ExtraAttribute for more details.
class paddle.v2.layer.
detection_output
Apply the NMS to the output of network and compute the predict bounding
-box location. The output of this layer could be None if there is no valid
-bounding box.
+box location. The output’s shape of this layer could be zero if there is
+no valid bounding box.
diff --git a/develop/doc_cn/api/v2/config/layer.html b/develop/doc_cn/api/v2/config/layer.html
index dcb9e16e6ece8290ef5e369b5bd9a57851b915ab..c06d77a07fa0604c304c4e00fc3889b8150542dc 100644
--- a/develop/doc_cn/api/v2/config/layer.html
+++ b/develop/doc_cn/api/v2/config/layer.html
@@ -4124,8 +4124,8 @@ paddle.v2.attr.ExtraAttribute for more details.
class paddle.v2.layer.
detection_output
Apply the NMS to the output of network and compute the predict bounding
-box location. The output of this layer could be None if there is no valid
-bounding box.
+box location. The output’s shape of this layer could be zero if there is
+no valid bounding box.