File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
docs/api/paddle/distribution Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ Exponential
7
7
8
8
指数分布
9
9
10
- 指数分布的概率密度满足一下公式 :
10
+ 指数分布的概率密度满足以下公式 :
11
11
12
12
.. math ::
13
13
14
- f(x; \theta ) = \theta e^{- \theta x }, (x \ge 0 ) $$
14
+ f(x; \theta ) = \theta e^{- \theta x }, (x \ge 0 )
15
15
16
16
上面数学公式中:
17
17
@@ -53,17 +53,18 @@ prob(value)
53
53
- **value ** (float|Tensor) - 输入值。
54
54
55
55
数学公式:
56
+
56
57
.. math ::
57
58
58
- f(x; \theta ) = \theta e^{- \theta x }, (x \ge 0 ) $$
59
+ f(x; \theta ) = \theta e^{- \theta x }, (x \ge 0 )
59
60
60
61
上面数学公式中:
61
62
62
63
:math: `rate=\theta `:表示率参数。
63
64
64
65
**返回 **
65
66
66
- - ** Tensor ** - value 对应的概率密度。
67
+ - Tensor: value 对应的概率密度。
67
68
68
69
69
70
log_prob(value)
@@ -76,7 +77,7 @@ log_prob(value)
76
77
77
78
**返回 **
78
79
79
- - ** Tensor ** - value 对应的对数概率密度。
80
+ - Tensor: value 对应的对数概率密度。
80
81
81
82
entropy()
82
83
'''''''''
@@ -154,7 +155,7 @@ sample(shape=[])
154
155
155
156
**返回 **
156
157
157
- - ** Tensor ** - 指定维度的样本数据。数据类型为 float32。
158
+ - Tensor: 指定维度的样本数据。数据类型为 float32。
158
159
159
160
160
161
rsample(shape=[])
@@ -167,4 +168,4 @@ rsample(shape=[])
167
168
168
169
**返回 **
169
170
170
- - ** Tensor ** - 指定维度的样本数据。数据类型为 float32。
171
+ - Tensor: 指定维度的样本数据。数据类型为 float32。
You can’t perform that action at this time.
0 commit comments