Skip to content

Commit

Permalink
Change develop api (PaddlePaddle#1035)
Browse files Browse the repository at this point in the history
* ok

* ok

* ok

* add check_approval

* check approval

* check approval

* check approval

* check approval

* check approval

* check approval

* add check_approval

* add check_approval

* add check_approval

* add check_approval

* add check_approval

* change api

* change api
  • Loading branch information
tianshuo78520a authored and shanyi15 committed Jul 24, 2019
1 parent 7adf366 commit c378c76
Show file tree
Hide file tree
Showing 515 changed files with 5,827 additions and 4,000 deletions.
7 changes: 7 additions & 0 deletions doc/fluid/api/.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
=====
fluid
=====

.. toctree::
:maxdepth: 1

15 changes: 3 additions & 12 deletions doc/fluid/api/average.rst
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
=============
fluid.average
=============

.. _api_fluid_average_WeightedAverage:

WeightedAverage
---------------

.. autoclass:: paddle.fluid.average.WeightedAverage
:members:
:inherited-members:
:noindex:
.. toctree::
:maxdepth: 1

average/WeightedAverage.rst
13 changes: 13 additions & 0 deletions doc/fluid/api/average/WeightedAverage.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_average_WeightedAverage:

WeightedAverage
---------------

.. autoclass:: paddle.fluid.average.WeightedAverage
:members:
:inherited-members:
:noindex:

22 changes: 4 additions & 18 deletions doc/fluid/api/backward.rst
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
==============
fluid.backward
==============

.. _api_fluid_backward_append_backward:

append_backward
---------------

.. autofunction:: paddle.fluid.backward.append_backward
:noindex:

.. _api_fluid_backward_gradients:

gradients
---------

.. autofunction:: paddle.fluid.backward.gradients
:noindex:
.. toctree::
:maxdepth: 1

backward/append_backward.rst
backward/gradients.rst
11 changes: 11 additions & 0 deletions doc/fluid/api/backward/append_backward.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_backward_append_backward:

append_backward
---------------

.. autofunction:: paddle.fluid.backward.append_backward
:noindex:

11 changes: 11 additions & 0 deletions doc/fluid/api/backward/gradients.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_backward_gradients:

gradients
---------

.. autofunction:: paddle.fluid.backward.gradients
:noindex:

48 changes: 6 additions & 42 deletions doc/fluid/api/clip.rst
Original file line number Diff line number Diff line change
@@ -1,47 +1,11 @@
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
==========
fluid.clip
==========

.. _api_fluid_clip_ErrorClipByValue:

ErrorClipByValue
----------------

.. autoclass:: paddle.fluid.clip.ErrorClipByValue
:members:
:inherited-members:
:noindex:

.. _api_fluid_clip_GradientClipByGlobalNorm:

GradientClipByGlobalNorm
------------------------

.. autoclass:: paddle.fluid.clip.GradientClipByGlobalNorm
:members:
:inherited-members:
:noindex:

.. _api_fluid_clip_GradientClipByNorm:

GradientClipByNorm
------------------

.. autoclass:: paddle.fluid.clip.GradientClipByNorm
:members:
:inherited-members:
:noindex:

.. _api_fluid_clip_GradientClipByValue:

GradientClipByValue
-------------------

.. autoclass:: paddle.fluid.clip.GradientClipByValue
:members:
:inherited-members:
:noindex:
.. toctree::
:maxdepth: 1

clip/ErrorClipByValue.rst
clip/GradientClipByGlobalNorm.rst
clip/GradientClipByNorm.rst
clip/GradientClipByValue.rst
13 changes: 13 additions & 0 deletions doc/fluid/api/clip/ErrorClipByValue.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_clip_ErrorClipByValue:

ErrorClipByValue
----------------

.. autoclass:: paddle.fluid.clip.ErrorClipByValue
:members:
:inherited-members:
:noindex:

13 changes: 13 additions & 0 deletions doc/fluid/api/clip/GradientClipByGlobalNorm.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_clip_GradientClipByGlobalNorm:

GradientClipByGlobalNorm
------------------------

.. autoclass:: paddle.fluid.clip.GradientClipByGlobalNorm
:members:
:inherited-members:
:noindex:

13 changes: 13 additions & 0 deletions doc/fluid/api/clip/GradientClipByNorm.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_clip_GradientClipByNorm:

GradientClipByNorm
------------------

.. autoclass:: paddle.fluid.clip.GradientClipByNorm
:members:
:inherited-members:
:noindex:

13 changes: 13 additions & 0 deletions doc/fluid/api/clip/GradientClipByValue.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. _api_fluid_clip_GradientClipByValue:

GradientClipByValue
-------------------

.. autoclass:: paddle.fluid.clip.GradientClipByValue
:members:
:inherited-members:
:noindex:

20 changes: 3 additions & 17 deletions doc/fluid/api/data/data_reader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,7 @@
Data Reader
=====================

DataFeeder
==========

.. automodule:: paddle.fluid.data_feeder
:members:
:noindex:

Reader
======

.. automodule:: paddle.reader
:members:
:noindex:

.. automodule:: paddle.reader.creator
:members:
:noindex:
.. toctree::
:maxdepth: 1

data_reader/Reader.rst
10 changes: 10 additions & 0 deletions doc/fluid/api/data/data_reader/Reader.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Reader
======

.. automodule:: paddle.reader
:members:
:noindex:

.. automodule:: paddle.reader.creator
:members:
:noindex:
92 changes: 13 additions & 79 deletions doc/fluid/api/data/dataset.rst
Original file line number Diff line number Diff line change
@@ -1,82 +1,16 @@
=======
dataset
=======

.. automodule:: paddle.dataset
:members:
:noindex:

mnist
+++++

.. automodule:: paddle.dataset.mnist
:members:
:noindex:

cifar
+++++

.. automodule:: paddle.dataset.cifar
:members:
:noindex:

conll05
+++++++

.. automodule:: paddle.dataset.conll05
:members: get_dict,get_embedding,test
:noindex:

imdb
++++

.. automodule:: paddle.dataset.imdb
:members:
:noindex:

imikolov
++++++++

.. automodule:: paddle.dataset.imikolov
:members:
:noindex:

movielens
+++++++++

.. automodule:: paddle.dataset.movielens
:members:
:noindex:

.. autoclass:: paddle.dataset.movielens.MovieInfo
:noindex:

.. autoclass:: paddle.dataset.movielens.UserInfo
:noindex:

sentiment
+++++++++

.. automodule:: paddle.dataset.sentiment
:members:
:noindex:

uci_housing
+++++++++++

.. automodule:: paddle.dataset.uci_housing
:members:
:noindex:

wmt14
+++++

.. automodule:: paddle.dataset.wmt14
:members:
:noindex:

wmt16
+++++

.. automodule:: paddle.dataset.wmt16
:members:
:noindex:
.. toctree::
:maxdepth: 1

dataset/cifar.rst
dataset/conll05.rst
dataset/imdb.rst
dataset/imikolov.rst
dataset/movielens.rst
dataset/sentiment.rst
dataset/uci_housing.rst
dataset/wmt14.rst
dataset/wmt16.rst
6 changes: 6 additions & 0 deletions doc/fluid/api/data/dataset/cifar.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
cifar
+++++

.. automodule:: paddle.dataset.cifar
:members:
:noindex:
6 changes: 6 additions & 0 deletions doc/fluid/api/data/dataset/conll05.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
conll05
+++++++

.. automodule:: paddle.dataset.conll05
:members: get_dict,get_embedding,test
:noindex:
6 changes: 6 additions & 0 deletions doc/fluid/api/data/dataset/imdb.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
imdb
++++

.. automodule:: paddle.dataset.imdb
:members:
:noindex:
6 changes: 6 additions & 0 deletions doc/fluid/api/data/dataset/imikolov.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
imikolov
++++++++

.. automodule:: paddle.dataset.imikolov
:members:
:noindex:
12 changes: 12 additions & 0 deletions doc/fluid/api/data/dataset/movielens.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
movielens
+++++++++

.. automodule:: paddle.dataset.movielens
:members:
:noindex:

.. autoclass:: paddle.dataset.movielens.MovieInfo
:noindex:

.. autoclass:: paddle.dataset.movielens.UserInfo
:noindex:
6 changes: 6 additions & 0 deletions doc/fluid/api/data/dataset/sentiment.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sentiment
+++++++++

.. automodule:: paddle.dataset.sentiment
:members:
:noindex:
6 changes: 6 additions & 0 deletions doc/fluid/api/data/dataset/uci_housing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
uci_housing
+++++++++++

.. automodule:: paddle.dataset.uci_housing
:members:
:noindex:
6 changes: 6 additions & 0 deletions doc/fluid/api/data/dataset/wmt14.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
wmt14
+++++

.. automodule:: paddle.dataset.wmt14
:members:
:noindex:
Loading

0 comments on commit c378c76

Please sign in to comment.