From 0f69d932a20359bf013dd1594346a0a2e645537b Mon Sep 17 00:00:00 2001 From: Li-fAngyU <56572498+Li-fAngyU@users.noreply.github.com> Date: Fri, 30 Jun 2023 10:35:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20COPY-FROM=20No.5=20nn=20(#?= =?UTF-8?q?54889)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * COPY FROM issue of paddle nn * 移除额外添加的示例,并修改Examplex->Examples * remove example name of transformer --- python/paddle/nn/layer/container.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/paddle/nn/layer/container.py b/python/paddle/nn/layer/container.py index c583e035f2e..9a83c16d7af 100644 --- a/python/paddle/nn/layer/container.py +++ b/python/paddle/nn/layer/container.py @@ -30,7 +30,7 @@ class LayerDict(Layer): Parameters: 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 import paddle @@ -97,7 +97,7 @@ class LayerDict(Layer): Parameters: None. - Examplex: + Examples: .. code-block:: python import paddle -- GitLab