diff --git a/develop/doc/api/v2/fluid/layers.html b/develop/doc/api/v2/fluid/layers.html index b44feaaf8d42704728fc40f8f0b0cbc163f1cb02..3d5560c9a965527dadbf61afa09e31b3322aac0a 100644 --- a/develop/doc/api/v2/fluid/layers.html +++ b/develop/doc/api/v2/fluid/layers.html @@ -753,8 +753,26 @@ and returns that as the output.

paddle.v2.fluid.layers.sums(input, out=None)
-

This function takes in the input and performs the sum operation on it -and returns that as the output.

+

This function performs the sum operation on the input and returns the +result as the output.

+ +++ + + + + + + + +
Parameters:input (Variable|list) – The input tensor that has the elements +that need to be summed up.
Returns:
+
The tensor type variable that has the sum of input
+
written to it.
+
+
Return type:Variable
+

Examples

diff --git a/develop/doc_cn/api/v2/fluid/layers.html b/develop/doc_cn/api/v2/fluid/layers.html index e0ed28506e3b973343594f9490f37ae0d5ba40c5..66160e18fecf8e4350c53fc982d95298329317a8 100644 --- a/develop/doc_cn/api/v2/fluid/layers.html +++ b/develop/doc_cn/api/v2/fluid/layers.html @@ -766,8 +766,26 @@ and returns that as the output.

paddle.v2.fluid.layers.sums(input, out=None)
-

This function takes in the input and performs the sum operation on it -and returns that as the output.

+

This function performs the sum operation on the input and returns the +result as the output.

+ +++ + + + + + + + +
参数:input (Variable|list) – The input tensor that has the elements +that need to be summed up.
返回:
+
The tensor type variable that has the sum of input
+
written to it.
+
+
返回类型:Variable
+

Examples