Skip to content

Commit 4fdf65a

Browse files
Update logspace_cn.rst
1 parent 82b5542 commit 4fdf65a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/paddle/logspace_cn.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ logspace
1717
- **stop** (int|float|Tensor) – ``stop`` 是区间结束值以 ``base`` 为底的指数,可以是一个标量,或是一个 shape 为 [1] 的 Tensor,该 Tensor 的数据类型可以是 float32、float64、int32 或者 int64。
1818
- **num** (int|Tensor) – ``num`` 是给定区间内需要划分的区间数,可以是一个整型标量,或是一个 shape 为 [1] 的 Tensor,该 Tensor 的数据类型需为 int32。
1919
- **base** (int|float|Tensor) – ``base`` 是对数函数的底数,可以是一个标量,或是一个 shape 为 [1] 的 Tensor,该 Tensor 的数据类型可以是 float32、float64、int32 或者 int64。
20-
- **dtype** (np.dtype|str,可选) – 输出Tensor的数据类型,可以是 float32、float64,int32 或者 int64。如果 dtype 的数据类型为 None,输出 Tensor 数据类型为 float32。
20+
- **dtype** (np.dtype|str,可选) – 输出 Tensor 的数据类型,可以是 float32、float64,int32 或者 int64。如果 dtype 的数据类型为 None,输出 Tensor 数据类型为 float32。
2121
- **name** (str,可选)- 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。
2222

2323
返回

0 commit comments

Comments
 (0)