File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ 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。
21- - **name ** (str,可选)- 具体用法请参见 :ref: `api_guide_Name `,一般无需设置,默认值为 None。
20+ - **dtype ** (np.dtype|str,可选) – 输出 Tensor 的数据类型,可以是 float32、float64、int32 或者 int64。如果 dtype 的数据类型为 None,输出 Tensor 数据类型为 float32。
21+ - **name ** (str,可选) – 具体用法请参见 :ref: `api_guide_Name `,一般无需设置,默认值为 None。
22+
2223
2324返回
2425::::::::::::
@@ -27,4 +28,4 @@ logspace
2728
2829代码示例
2930::::::::::::
30- COPY-FROM: < logspace>:< logspace-example>
31+ COPY-FROM: paddle. logspace: logspace-example
You can’t perform that action at this time.
0 commit comments