未验证 提交 632027d7 编写于 作者: B BrilliantYuKaimin 提交者: GitHub

test=document_fix (#42922)

上级 e9589e35
......@@ -60,19 +60,19 @@ class Normal(NormalInitializer):
class TruncatedNormal(TruncatedNormalInitializer):
"""The Random TruncatedNormal (Gaussian) distribution initializer.
"""The truncated normal distribution (Gaussian distribution) initializer.
Args:
mean (float, optional): mean of the normal distribution. The default value is 0.0.
std (float, optional): standard deviation of the normal distribution. The default value is 1.0.
name(str, optional): The default value is None. Normally there is no need for user to set this
property. For more information, please refer to :ref:`api_guide_Name`.
mean (float, optional): Mean of the normal distribution. The default value is :math:`0.0`.
std (float, optional): Standard deviation of the normal distribution. The default value is :math:`1.0`.
name (str, optional): For details, please refer to :ref:`api_guide_Name`. Generally, no setting is required. Default: None.
Returns:
A parameter initialized by Random TruncatedNormal (Gaussian) distribution.
A parameter initialized by truncated normal distribution (Gaussian distribution).
Examples:
.. code-block:: python
:name: initializer_TruncatedNormal-example
import paddle
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册