We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69c6b21 commit 72cee5bCopy full SHA for 72cee5b
docs/api/paddle/gather_cn.rst
@@ -42,7 +42,7 @@ gather
42
::::::::::::
43
- **x** (Tensor) - 输入 Tensor,秩 ``rank >= 1`` ,支持的数据类型包括 int32、int64、float32、float64、complex64、complex128 和 uint8 (CPU)、float16(GPU) 。
44
- **index** (Tensor) - 索引 Tensor,秩 ``rank = 0`` 或者 ``rank = 1`` ,数据类型为 int32 或 int64。
45
- - **axis** (Tensor) - 指定 index 获取输入的维度,``axis`` 的类型可以是 int 或者 Tensor,当 ``axis`` 为 Tensor 的时候其数据类型为 int32 或者 int64。默认值为 None,当 ``axis`` 为 None 的时候其值为 0。
+ - **axis** (Tensor) - 指定 index 获取输入的维度, ``axis`` 的类型可以是 int 或者 Tensor,当 ``axis`` 为 Tensor 的时候其数据类型为 int32 或者 int64。默认值为 None,当 ``axis`` 为 None 的时候其值为 0。
46
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。
47
48
返回
0 commit comments