From 9b13b4c0d295544b6eaed50ad77657b20d3736b6 Mon Sep 17 00:00:00 2001 From: chengduoZH Date: Wed, 13 Jun 2018 17:32:04 +0800 Subject: [PATCH] Add doc --- doc/fluid/api/layers.rst | 19 +++++++++++++++++++ python/paddle/fluid/layers/nn.py | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/doc/fluid/api/layers.rst b/doc/fluid/api/layers.rst index f78e6db3268..4be56791b18 100644 --- a/doc/fluid/api/layers.rst +++ b/doc/fluid/api/layers.rst @@ -361,6 +361,12 @@ conv2d .. autofunction:: paddle.fluid.layers.conv2d :noindex: +conv3d +------ + +.. autofunction:: paddle.fluid.layers.conv3d + :noindex: + sequence_pool ------------- @@ -385,6 +391,12 @@ pool2d .. autofunction:: paddle.fluid.layers.pool2d :noindex: +pool3d +------ + +.. autofunction:: paddle.fluid.layers.pool3d + :noindex: + batch_norm ---------- @@ -403,6 +415,13 @@ conv2d_transpose .. autofunction:: paddle.fluid.layers.conv2d_transpose :noindex: +conv3d_transpose +---------------- + +.. autofunction:: paddle.fluid.layers.conv2d_transpose + :noindex: + + sequence_expand --------------- diff --git a/python/paddle/fluid/layers/nn.py b/python/paddle/fluid/layers/nn.py index 3a4f93929f5..888245fc9e0 100644 --- a/python/paddle/fluid/layers/nn.py +++ b/python/paddle/fluid/layers/nn.py @@ -1722,7 +1722,7 @@ def pool2d(input, if not isinstance(use_cudnn, bool): raise ValueError("use_cudnn should be True or False") - l_type = 'conv2d' + l_type = 'pool2d' helper = LayerHelper(l_type, **locals()) dtype = helper.input_dtype() -- GitLab