Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/api/index_en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ API
v2/model_configs.rst
v2/data.rst
v2/run_logic.rst
v2/fluid.rst
18 changes: 18 additions & 0 deletions doc/api/v2/fluid.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
======================
Fluid
======================

.. toctree::
:maxdepth: 1

fluid/layers.rst
fluid/data_feeder.rst
fluid/executor.rst
fluid/initializer.rst
fluid/evaluator.rst
fluid/nets.rst
fluid/optimizer.rst
fluid/param_attr.rst
fluid/profiler.rst
fluid/regularizer.rst
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should adjust the order in next PRs

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think we can merge this PR first. And then more developers can join in and we can make iterative document polishing.


11 changes: 11 additions & 0 deletions doc/api/v2/fluid/data_feeder.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
===========
DataFeeder
===========

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a lot of blank lines in rst.
You can delete these, for example, line 5-6.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done



DataFeeder
-----------
.. automodule:: paddle.v2.fluid.data_feeder
:members: DataFeeder
:noindex:
11 changes: 11 additions & 0 deletions doc/api/v2/fluid/evaluator.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
===========
Evaluator
===========



Evaluator
-----------
.. automodule:: paddle.v2.fluid.evaluator
:members: Evaluator
:noindex:
11 changes: 11 additions & 0 deletions doc/api/v2/fluid/executor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
===========
Executor
===========



Executor
-----------
.. automodule:: paddle.v2.fluid.executor
:members: Executor
:noindex:
50 changes: 50 additions & 0 deletions doc/api/v2/fluid/initializer.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
===========
Initializer
===========



Initializer
-----------
.. automodule:: paddle.v2.fluid.initializer
:members: Initializer
:noindex:



ConstantInitializer
-----------
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line 16 should be longer than line 15, otherwise, there will be warnings when compile paddle_docs

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

.. automodule:: paddle.v2.fluid.initializer
:members: ConstantInitializer
:noindex:



UniformInitializer
-----------
.. automodule:: paddle.v2.fluid.initializer
:members: UniformInitializer
:noindex:



NormalInitializer
-----------
.. automodule:: paddle.v2.fluid.initializer
:members: NormalInitializer
:noindex:


XavierInitializer
-----------
.. automodule:: paddle.v2.fluid.initializer
:members: XavierInitializer
:noindex:


MSRAInitializer
-----------
.. automodule:: paddle.v2.fluid.initializer
:members: MSRAInitializer
:noindex:

Loading