diff --git a/develop/doc/api/v2/fluid/layers.html b/develop/doc/api/v2/fluid/layers.html index 81bb57802dc87a7d1990e9a95baa38a3737cb22d..2be7444eca0f234229f4d799332c759d7366f37d 100644 --- a/develop/doc/api/v2/fluid/layers.html +++ b/develop/doc/api/v2/fluid/layers.html @@ -259,14 +259,14 @@ into a 2-dimensional matrix. The parameter is flattened: the first num_flatten_dims dimensions will be flatten to form the first dimension of the final matrix (height of the -matrix), and the rest rank(X) - num_col_dims +matrix), and the rest rank(X) - num_flatten_dims dimensions are flattened to form the second dimension of the final matrix (width of the matrix). For example, suppose X is a 6-dimensional tensor with a shape [2, 3, 4, 5, 6], and -x_num_col_dims = 3. Then, the flattened matrix +num_flatten_dims = 3. Then, the flattened matrix will have a shape [2 x 3 x 4, 5 x 6] = [24, 30]. -By default, x_num_col_dims is set to 1. +By default, num_flatten_dims is set to 1.
  • param_attr (ParamAttr|list) – The parameter attribute for learnable parameters/weights of the fully connected layer.
  • diff --git a/develop/doc_cn/api/v2/fluid/layers.html b/develop/doc_cn/api/v2/fluid/layers.html index 592b78ab5cbc0ad5fc1d5a4971e1ff1da4168d1c..4e66efd868153852df2ce0f2070df670e5a975d5 100644 --- a/develop/doc_cn/api/v2/fluid/layers.html +++ b/develop/doc_cn/api/v2/fluid/layers.html @@ -272,14 +272,14 @@ into a 2-dimensional matrix. The parameter is flattened: the first num_flatten_dims dimensions will be flatten to form the first dimension of the final matrix (height of the -matrix), and the rest rank(X) - num_col_dims +matrix), and the rest rank(X) - num_flatten_dims dimensions are flattened to form the second dimension of the final matrix (width of the matrix). For example, suppose X is a 6-dimensional tensor with a shape [2, 3, 4, 5, 6], and -x_num_col_dims = 3. Then, the flattened matrix +num_flatten_dims = 3. Then, the flattened matrix will have a shape [2 x 3 x 4, 5 x 6] = [24, 30]. -By default, x_num_col_dims is set to 1. +By default, num_flatten_dims is set to 1.
  • param_attr (ParamAttr|list) – The parameter attribute for learnable parameters/weights of the fully connected layer.