From da8f88b438c66a7ccdd1dae9bab01a05504bc921 Mon Sep 17 00:00:00 2001 From: chenlong Date: Tue, 11 Aug 2020 21:48:20 +0800 Subject: [PATCH] test add api test=develop --- doc/fluid/api/nn.rst | 1 + doc/fluid/api/nn/functional.rst | 8 ++++++++ doc/fluid/api/nn/functional/l1_loss.rst | 9 +++++++++ 3 files changed, 18 insertions(+) create mode 100644 doc/fluid/api/nn/functional.rst create mode 100644 doc/fluid/api/nn/functional/l1_loss.rst diff --git a/doc/fluid/api/nn.rst b/doc/fluid/api/nn.rst index 50b2e9515..1223b0ebf 100644 --- a/doc/fluid/api/nn.rst +++ b/doc/fluid/api/nn.rst @@ -49,6 +49,7 @@ paddle.nn nn/exponential_decay.rst nn/filter_by_instag.rst nn/fsp_matrix.rst + nn/functional.rst nn/gather_tree.rst nn/gelu.rst nn/generate_mask_labels.rst diff --git a/doc/fluid/api/nn/functional.rst b/doc/fluid/api/nn/functional.rst new file mode 100644 index 000000000..6bca41143 --- /dev/null +++ b/doc/fluid/api/nn/functional.rst @@ -0,0 +1,8 @@ +========= +functional +========= + +.. toctree:: + :maxdepth: 1 + + functional/l1_loss.rst diff --git a/doc/fluid/api/nn/functional/l1_loss.rst b/doc/fluid/api/nn/functional/l1_loss.rst new file mode 100644 index 000000000..80a629b3a --- /dev/null +++ b/doc/fluid/api/nn/functional/l1_loss.rst @@ -0,0 +1,9 @@ +.. _api_nn_functional_l1_loss: + +l1_loss +------ + +.. autoclass:: paddle.nn.functional.l1_loss + :members: + :inherited-members: + :noindex: -- GitLab