Skip to content

Commit

Permalink
[Change] reshape dtype (#6298)
Browse files Browse the repository at this point in the history
  • Loading branch information
megemini authored Nov 10, 2023
1 parent 322173b commit 89fa01f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/paddle/reshape_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ reshape
参数
::::::::::::

- **x** (Tensor) - N-D ``Tensor``,数据类型为 ``float32````float64``、``int32````int64`` 或者 ``bool``。
- **x** (Tensor) - N-D ``Tensor``,数据类型为 ``float16``, ``float32``, ``float64``, ``int16``, ``int32``, ``int64``, ``int8``, ``uint8``, ``complex64``, ``complex128``, ``bfloat16`` 或 ``bool``。
- **shape** (list|tuple|Tensor) - 数据类型是 ``int32``。定义目标形状。目标形状最多只能有一个维度为-1。如果 ``shape`` 的类型是 list 或 tuple,它的元素可以是整数或者形状为[]的 ``Tensor``。如果 ``shape`` 的类型是 ``Tensor``,则是 1-D 的 ``Tensor``。
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。

Expand Down

0 comments on commit 89fa01f

Please sign in to comment.