diff --git a/develop/doc/api/v2/fluid/layers.html b/develop/doc/api/v2/fluid/layers.html index 0241fa210d4590fe47947e31540d58b1ad6d69d1..f40e205edca10f7d968bcd92992aec15b24cef33 100644 --- a/develop/doc/api/v2/fluid/layers.html +++ b/develop/doc/api/v2/fluid/layers.html @@ -518,9 +518,9 @@ Given a 2-D tensor X with 2 rows and 2 columns

[[1, 2], [3, 4]]

and target shape = [1, 4], the reshape operator will transform -the tensor X into a 1-D tensor:

+the tensor X into a 2-D tensor:

-
[1, 2, 3, 4]
+
[[1, 2, 3, 4]]
@@ -599,9 +599,9 @@ Given a 2-D tensor X with 2 rows and 2 columns

[[1, 2], [3, 4]]

and target shape = [1, 4], the reshape operator will transform -the tensor X into a 1-D tensor:

+the tensor X into a 2-D tensor:

-
[1, 2, 3, 4]
+
[[1, 2, 3, 4]]
diff --git a/develop/doc/operators.json b/develop/doc/operators.json index a4459cb94d149d6a6a30d3f1911a6a91bfc77cb9..ba0b568f783aa8a94190cc7e65c5c51ffe852057 100644 --- a/develop/doc/operators.json +++ b/develop/doc/operators.json @@ -2868,7 +2868,7 @@ "attrs" : [ ] },{ "type" : "reshape", - "comment" : "\nReshape Operator.\n\nReshape Input(X) into the shape specified by Attr(shape).\n\nAn example:\nGiven a 2-D tensor X with 2 rows and 2 columns\n\n [[1, 2], [3, 4]]\n\nand target shape = [1, 4], the reshape operator will transform\nthe tensor X into a 1-D tensor:\n\n [1, 2, 3, 4]\n\n", + "comment" : "\nReshape Operator.\n\nReshape Input(X) into the shape specified by Attr(shape).\n\nAn example:\nGiven a 2-D tensor X with 2 rows and 2 columns\n\n [[1, 2], [3, 4]]\n\nand target shape = [1, 4], the reshape operator will transform\nthe tensor X into a 2-D tensor:\n\n [[1, 2, 3, 4]]\n\n", "inputs" : [ { "name" : "X", diff --git a/develop/doc_cn/api/v2/fluid/layers.html b/develop/doc_cn/api/v2/fluid/layers.html index 5a135f1a27d6088ccba5e8933119d4d41f413f08..e35f78d1fe391759d7583aca9525aba1f034d509 100644 --- a/develop/doc_cn/api/v2/fluid/layers.html +++ b/develop/doc_cn/api/v2/fluid/layers.html @@ -512,9 +512,9 @@ Given a 2-D tensor X with 2 rows and 2 columns

[[1, 2], [3, 4]]

and target shape = [1, 4], the reshape operator will transform -the tensor X into a 1-D tensor:

+the tensor X into a 2-D tensor:

-
[1, 2, 3, 4]
+
[[1, 2, 3, 4]]
@@ -593,9 +593,9 @@ Given a 2-D tensor X with 2 rows and 2 columns

[[1, 2], [3, 4]]

and target shape = [1, 4], the reshape operator will transform -the tensor X into a 1-D tensor:

+the tensor X into a 2-D tensor:

-
[1, 2, 3, 4]
+
[[1, 2, 3, 4]]