Skip to content

Commit 9b13b4c

Browse files
committed
Add doc
1 parent 2183d01 commit 9b13b4c

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

doc/fluid/api/layers.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,12 @@ conv2d
361361
.. autofunction:: paddle.fluid.layers.conv2d
362362
:noindex:
363363

364+
conv3d
365+
------
366+
367+
.. autofunction:: paddle.fluid.layers.conv3d
368+
:noindex:
369+
364370
sequence_pool
365371
-------------
366372

@@ -385,6 +391,12 @@ pool2d
385391
.. autofunction:: paddle.fluid.layers.pool2d
386392
:noindex:
387393

394+
pool3d
395+
------
396+
397+
.. autofunction:: paddle.fluid.layers.pool3d
398+
:noindex:
399+
388400
batch_norm
389401
----------
390402

@@ -403,6 +415,13 @@ conv2d_transpose
403415
.. autofunction:: paddle.fluid.layers.conv2d_transpose
404416
:noindex:
405417

418+
conv3d_transpose
419+
----------------
420+
421+
.. autofunction:: paddle.fluid.layers.conv2d_transpose
422+
:noindex:
423+
424+
406425
sequence_expand
407426
---------------
408427

python/paddle/fluid/layers/nn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1722,7 +1722,7 @@ def pool2d(input,
17221722
if not isinstance(use_cudnn, bool):
17231723
raise ValueError("use_cudnn should be True or False")
17241724

1725-
l_type = 'conv2d'
1725+
l_type = 'pool2d'
17261726

17271727
helper = LayerHelper(l_type, **locals())
17281728
dtype = helper.input_dtype()

0 commit comments

Comments
 (0)