Skip to content

Commit

Permalink
update docs for unstack and add_n (#6321)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyt1024 authored Nov 20, 2023
1 parent 08eb50a commit ab84306
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/api/paddle/add_n_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ add_n
参数
::::::::::::

- **inputs** (Tensor|list(Tensor)) - 输入的一至多个 Tensor。如果输入了多个 Tensor,则不同 Tensor 的 shape 和数据类型应保持一致。数据类型支持:float32、float64、int32、int64。
- **inputs** (Tensor|list(Tensor)) - 输入的一至多个 Tensor。如果输入了多个 Tensor,则不同 Tensor 的 shape 和数据类型应保持一致。数据类型支持:float32、float64、int32、int64、complex64、complex128
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。

返回
Expand Down
2 changes: 1 addition & 1 deletion docs/api/paddle/unstack_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ unstack
::::::::::::

- **x** (Tensor) – 输入 x 为 ``dim > 0`` 的 Tensor,
支持的数据类型:float32,float64,int32,int64。
支持的数据类型:float32,float64,int32,int64, complex64,complex128

- **axis** (int | 可选) – 输入 Tensor 进行 unpack 运算所在的轴,axis 的范围为:``[-D, D)`` ,
如果 ``axis < 0``,则 :math:`axis = axis + dim(x)`,axis 的默认值为 0。
Expand Down

0 comments on commit ab84306

Please sign in to comment.