From 186ca921a70ba8df68d5dc86ebd96f35deb4b52c Mon Sep 17 00:00:00 2001 From: nhzlx Date: Mon, 29 Oct 2018 12:00:48 +0800 Subject: [PATCH] fix comments --- doc/fluid/api_guides/index_cn.rst | 1 - doc/fluid/api_guides/low_level/index_cn.rst | 9 --------- doc/fluid/api_guides/low_level/layers/activations.rst | 2 +- 3 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 doc/fluid/api_guides/low_level/index_cn.rst diff --git a/doc/fluid/api_guides/index_cn.rst b/doc/fluid/api_guides/index_cn.rst index a27d6d2fa..98c3d4ca6 100644 --- a/doc/fluid/api_guides/index_cn.rst +++ b/doc/fluid/api_guides/index_cn.rst @@ -7,5 +7,4 @@ API Guide :maxdepth: 1 high_low_level_api.md - low_level/index_cn.rst low_level/inference.rst diff --git a/doc/fluid/api_guides/low_level/index_cn.rst b/doc/fluid/api_guides/low_level/index_cn.rst deleted file mode 100644 index 3118eb09a..000000000 --- a/doc/fluid/api_guides/low_level/index_cn.rst +++ /dev/null @@ -1,9 +0,0 @@ -API Guide -========= - -.. toctree:: - - - :maxdepth: 1 - - layers/activations.rst diff --git a/doc/fluid/api_guides/low_level/layers/activations.rst b/doc/fluid/api_guides/low_level/layers/activations.rst index 0b40d67c1..f101e460d 100644 --- a/doc/fluid/api_guides/low_level/layers/activations.rst +++ b/doc/fluid/api_guides/low_level/layers/activations.rst @@ -14,7 +14,7 @@ PaddlePaddle Fluid 对大部分的激活函数进行了支持,其中有: Fluid提供了两种使用激活函数的方式: ============== -- 如果一个层的接口提供了 :code:`act` 变量(默认值为None),我们可以通过该变量指定该层的激活函数类型。该方式支持常见的激活函数,:code:`relu`, :code:`tanh`, :code:`sigmoid`, :code:`identity`。 +- 如果一个层的接口提供了 :code:`act` 变量(默认值为None),我们可以通过该变量指定该层的激活函数类型。该方式支持常见的激活函数: :code:`relu`, :code:`tanh`, :code:`sigmoid`, :code:`identity`。 .. code-block:: python -- GitLab