From e945705a5e9607ee684057add733423e802ad57d Mon Sep 17 00:00:00 2001 From: wanghaoshuang Date: Sun, 23 Aug 2020 14:06:29 +0000 Subject: [PATCH] Add grid_sample en doc --- doc/fluid/api/nn.rst | 1 + doc/fluid/api/nn/functional.rst | 1 + doc/fluid/api/nn/functional/vision.rst | 8 ++++++++ doc/fluid/api/nn/functional/vision/grid_sample.rst | 11 +++++++++++ 4 files changed, 21 insertions(+) create mode 100644 doc/fluid/api/nn/functional/vision.rst create mode 100644 doc/fluid/api/nn/functional/vision/grid_sample.rst diff --git a/doc/fluid/api/nn.rst b/doc/fluid/api/nn.rst index 246a46602..365a10e5f 100644 --- a/doc/fluid/api/nn.rst +++ b/doc/fluid/api/nn.rst @@ -172,3 +172,4 @@ paddle.nn nn/AdaptiveAvgPool2d.rst nn/AdaptiveAvgPool3d.rst nn/layer/activation/Sigmoid.rst + nn/functional/vision/grid_sample.rst diff --git a/doc/fluid/api/nn/functional.rst b/doc/fluid/api/nn/functional.rst index 25d0a9743..2517cb563 100644 --- a/doc/fluid/api/nn/functional.rst +++ b/doc/fluid/api/nn/functional.rst @@ -10,3 +10,4 @@ functional functional/mse_loss.rst functional/adaptive_avg_pool2d.rst functional/adaptive_avg_pool3d.rst + functional/vision.rst diff --git a/doc/fluid/api/nn/functional/vision.rst b/doc/fluid/api/nn/functional/vision.rst new file mode 100644 index 000000000..bcc8c4c04 --- /dev/null +++ b/doc/fluid/api/nn/functional/vision.rst @@ -0,0 +1,8 @@ +========== +vision +========== + +.. toctree:: + :maxdepth: 1 + + vision/grid_sample.rst diff --git a/doc/fluid/api/nn/functional/vision/grid_sample.rst b/doc/fluid/api/nn/functional/vision/grid_sample.rst new file mode 100644 index 000000000..360090452 --- /dev/null +++ b/doc/fluid/api/nn/functional/vision/grid_sample.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_nn_functional_vision_grid_sample: + +grid_sample +------------- + +.. autofunction:: paddle.nn.functional.vision.grid_sample + :noindex: + -- GitLab