Skip to content

Commit 447dcee

Browse files
authored
【Doc】 Add datatype support for transpose、concat (#6493)
* fix * add concat
1 parent 9613a69 commit 447dcee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/api/paddle/concat_cn.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ concat
1111
参数
1212
::::::::::::
1313

14-
- **x** (list|tuple) - 待联结的 Tensor list 或者 Tensor tuple,支持的数据类型为:bool、float16、float32、float64、int32、int64、uint8, ``x`` 中所有 Tensor 的数据类型应该一致。
14+
- **x** (list|tuple) - 待联结的 Tensor list 或者 Tensor tuple,支持的数据类型为:bool、float16、bfloat16、float32、float64、int8、uint8、int16、uint16、int32、int64、complex64、complex128, ``x`` 中所有 Tensor 的数据类型应该一致。
1515
- **axis** (int|Tensor,可选) - 指定对输入 ``x`` 进行运算的轴,可以是整数或者形状为[]的 0-D Tensor,数据类型为 int32 或者 int64。 ``axis`` 的有效范围是 [-R, R),R 是输入 ``x`` 中 Tensor 的维度,``axis`` 为负值时与 :math:`axis + R` 等价。默认值为 0。
1616
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。
1717

docs/api/paddle/transpose_cn.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ transpose
1313
参数
1414
::::::::::::
1515

16-
- **x** (Tensor) - 输入:x:[N_1, N_2, ..., N_k, D]多维 Tensor,可选的数据类型为 bool, float16, float32, float64, int32, int64。
16+
- **x** (Tensor) - 输入:x:[N_1, N_2, ..., N_k, D]多维 Tensor,可选的数据类型为 bool, float16, bfloat16, float32, float64, int8, int16, int32, int64, uint8, uint16, complex64, complex128
1717
- **perm** (list|tuple) - perm 长度必须和 X 的维度相同,并依照 perm 中数据进行重排。
1818
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。
1919

0 commit comments

Comments
 (0)