未验证 提交 172739d4 编写于 作者: B BrilliantYuKaimin 提交者: GitHub

test=document_fix Verified (#42919)

上级 cb195fa0
...@@ -18,19 +18,19 @@ __all__ = [] ...@@ -18,19 +18,19 @@ __all__ = []
class Uniform(UniformInitializer): class Uniform(UniformInitializer):
"""The random uniform distribution initializer. """The uniform distribution initializer.
Args: Args:
low (float, optional): lower boundary of the uniform distribution. The default value is -1.0. low (float, optional): Lower boundary of the uniform distribution. The default value is :math:`-1.0`.
high (float, optional): upper boundary of the uniform distribution. The default value is 1.0. high (float, optional): Upper boundary of the uniform distribution. The default value is :math:`1.0`.
name(str, optional): The default value is None. Normally there is no need for user to set this name (str, optional): For details, please refer to :ref:`api_guide_Name`. Generally, no setting is required. Default: None.
property. For more information, please refer to :ref:`api_guide_Name`.
Returns: Returns:
A parameter initialized by random uniform distribution. A parameter initialized by uniform distribution.
Examples: Examples:
.. code-block:: python .. code-block:: python
:name: initializer_Uniform-example
import paddle import paddle
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册