Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions docs/api/paddle/distribution/Exponential_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Exponential

指数分布

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

.. math::

f(x; \theta) = \theta e^{- \theta x }, (x \ge 0) $$
f(x; \theta) = \theta e^{- \theta x }, (x \ge 0)

上面数学公式中:

Expand Down Expand Up @@ -53,17 +53,18 @@ prob(value)
- **value** (float|Tensor) - 输入值。

数学公式:

.. math::

f(x; \theta) = \theta e^{- \theta x }, (x \ge 0) $$
f(x; \theta) = \theta e^{- \theta x }, (x \ge 0)

上面数学公式中:

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

**返回**

- **Tensor** - value 对应的概率密度。
- Tensor: value 对应的概率密度。


log_prob(value)
Expand All @@ -76,7 +77,7 @@ log_prob(value)

**返回**

- **Tensor** - value 对应的对数概率密度。
- Tensor: value 对应的对数概率密度。

entropy()
'''''''''
Expand Down Expand Up @@ -154,7 +155,7 @@ sample(shape=[])

**返回**

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


rsample(shape=[])
Expand All @@ -167,4 +168,4 @@ rsample(shape=[])

**返回**

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