Skip to content

Commit 9de426f

Browse files
fix display error, spelling mistake and format inconsistency in Exponential_cn (#7473)
1 parent 817118b commit 9de426f

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

docs/api/paddle/distribution/Exponential_cn.rst

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ Exponential
77
88
指数分布
99

10-
指数分布的概率密度满足一下公式
10+
指数分布的概率密度满足以下公式
1111

1212
.. math::
1313
14-
f(x; \theta) = \theta e^{- \theta x }, (x \ge 0) $$
14+
f(x; \theta) = \theta e^{- \theta x }, (x \ge 0)
1515
1616
上面数学公式中:
1717

@@ -53,17 +53,18 @@ prob(value)
5353
- **value** (float|Tensor) - 输入值。
5454

5555
数学公式:
56+
5657
.. math::
5758
58-
f(x; \theta) = \theta e^{- \theta x }, (x \ge 0) $$
59+
f(x; \theta) = \theta e^{- \theta x }, (x \ge 0)
5960
6061
上面数学公式中:
6162

6263
:math:`rate=\theta`:表示率参数。
6364

6465
**返回**
6566

66-
- **Tensor** - value 对应的概率密度。
67+
- Tensor: value 对应的概率密度。
6768

6869

6970
log_prob(value)
@@ -76,7 +77,7 @@ log_prob(value)
7677

7778
**返回**
7879

79-
- **Tensor** - value 对应的对数概率密度。
80+
- Tensor: value 对应的对数概率密度。
8081

8182
entropy()
8283
'''''''''
@@ -154,7 +155,7 @@ sample(shape=[])
154155

155156
**返回**
156157

157-
- **Tensor** - 指定维度的样本数据。数据类型为 float32。
158+
- Tensor: 指定维度的样本数据。数据类型为 float32。
158159

159160

160161
rsample(shape=[])
@@ -167,4 +168,4 @@ rsample(shape=[])
167168

168169
**返回**
169170

170-
- **Tensor** - 指定维度的样本数据。数据类型为 float32。
171+
- Tensor: 指定维度的样本数据。数据类型为 float32。

0 commit comments

Comments
 (0)