未验证 提交 0f69d932 编写于 作者: L Li-fAngyU 提交者: GitHub

修改 COPY-FROM No.5 nn (#54889)

* COPY FROM issue of paddle nn

* 移除额外添加的示例,并修改Examplex->Examples

* remove example name of transformer
上级 6a8847f3
...@@ -30,7 +30,7 @@ class LayerDict(Layer): ...@@ -30,7 +30,7 @@ class LayerDict(Layer):
Parameters: Parameters:
sublayers (LayerDict|OrderedDict|list[(key,Layer)...], optional): iterable of key/value pairs, the type of value is 'paddle.nn.Layer' . sublayers (LayerDict|OrderedDict|list[(key,Layer)...], optional): iterable of key/value pairs, the type of value is 'paddle.nn.Layer' .
Examplex: Examples:
.. code-block:: python .. code-block:: python
import paddle import paddle
...@@ -97,7 +97,7 @@ class LayerDict(Layer): ...@@ -97,7 +97,7 @@ class LayerDict(Layer):
Parameters: Parameters:
None. None.
Examplex: Examples:
.. code-block:: python .. code-block:: python
import paddle import paddle
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册