Skip to content

Commit 27fbe6b

Browse files
authored
【Paddle Tensor No.13】新增paddle.positive 中文文档. (#6972)
* docs: add chinese docs for `paddle.positive` * docs: add docs for `paddle.less`,`Tensor.less` * typo: replace (`,` and `,`)-> `、` * docs: replace `,` by `,` * docs: only keep the `paddle.positive`
1 parent 5505d82 commit 27fbe6b

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

docs/api/paddle/positive_cn.rst

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.. _cn_api_paddle_positive:
2+
3+
positive
4+
-------------------------------
5+
6+
.. py:function:: paddle.positive(x)
7+
8+
返回输入 Tensor 的本身。
9+
10+
计算公式为:
11+
12+
.. math::
13+
out=+x
14+
15+
参数
16+
::::::::::::
17+
18+
- **x** (Tensor) - 支持任意维度的 Tensor。数据类型为 uint8、int8、int16、int32、int64、float32、float64、float16、complex64、complex128。
19+
20+
返回
21+
::::::::::::
22+
返回类型为 Tensor,数据类型同输入一致。
23+
24+
代码示例
25+
::::::::::::
26+
27+
COPY-FROM: paddle.positive

0 commit comments

Comments
 (0)