Skip to content

Commit

Permalink
Merge pull request #463 from luotao1/doc2
Browse files Browse the repository at this point in the history
modify document directory structure in model config helpers
  • Loading branch information
luotao1 committed Nov 14, 2016
2 parents 35c175d + e6396a1 commit a0bd895
Show file tree
Hide file tree
Showing 15 changed files with 42 additions and 62 deletions.
2 changes: 1 addition & 1 deletion doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ User Guide
* [Build and Installation](build/index.rst)
* [Contribute Code](build/contribute_to_paddle.md)
* [User Interface](ui/index.md)
* [Model Config Interface](ui/api/trainer_config_helpers/index.md)
* [Model Config Interface](ui/api/trainer_config_helpers/index.rst)
* [Example and Demo](demo/index.md)
* [Cluster Train](cluster/index.md)

Expand Down
5 changes: 4 additions & 1 deletion doc/ui/api/trainer_config_helpers/activations.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
===========
Activations
===========

BaseActivation
==============

Expand Down Expand Up @@ -102,4 +106,3 @@ STanhActivation
.. automodule:: paddle.trainer_config_helpers.activations
:members: STanhActivation
:noindex:

7 changes: 0 additions & 7 deletions doc/ui/api/trainer_config_helpers/activations_index.rst

This file was deleted.

4 changes: 4 additions & 0 deletions doc/ui/api/trainer_config_helpers/evaluators.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
==========
Evaluators
==========

Base
====
.. automodule:: paddle.trainer_config_helpers.evaluators
Expand Down
7 changes: 0 additions & 7 deletions doc/ui/api/trainer_config_helpers/evaluators_index.rst

This file was deleted.

10 changes: 0 additions & 10 deletions doc/ui/api/trainer_config_helpers/index.md

This file was deleted.

14 changes: 14 additions & 0 deletions doc/ui/api/trainer_config_helpers/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Model Config Interface
======================

.. toctree::
:maxdepth: 1

optimizers.rst
data_sources.rst
layers.rst
activations.rst
poolings.rst
networks.rst
evaluators.rst
attrs.rst
6 changes: 5 additions & 1 deletion doc/ui/api/trainer_config_helpers/layers.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
======
Layers
======

Base
======

Expand Down Expand Up @@ -47,7 +51,7 @@ conv_operator
:noindex:

conv_projection
-------------
---------------
.. automodule:: paddle.trainer_config_helpers.layers
:members: conv_projection
:noindex:
Expand Down
7 changes: 0 additions & 7 deletions doc/ui/api/trainer_config_helpers/layers_index.rst

This file was deleted.

7 changes: 6 additions & 1 deletion doc/ui/api/trainer_config_helpers/networks.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
========
Networks
========

The networks module contains pieces of neural network that combine multiple layers.

NLP
===

Expand Down Expand Up @@ -111,4 +117,3 @@ outputs
.. automodule:: paddle.trainer_config_helpers.networks
:members: outputs
:noindex:

9 changes: 0 additions & 9 deletions doc/ui/api/trainer_config_helpers/networks_index.rst

This file was deleted.

5 changes: 4 additions & 1 deletion doc/ui/api/trainer_config_helpers/optimizers.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
==========
Optimizers
==========

BaseSGDOptimizer
================
.. automodule:: paddle.trainer_config_helpers.optimizers
Expand Down Expand Up @@ -51,4 +55,3 @@ settings
.. automodule:: paddle.trainer_config_helpers.optimizers
:members: settings
:noindex:

7 changes: 0 additions & 7 deletions doc/ui/api/trainer_config_helpers/optimizers_index.rst

This file was deleted.

5 changes: 4 additions & 1 deletion doc/ui/api/trainer_config_helpers/poolings.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
========
Poolings
========

BasePoolingType
===============
.. automodule:: paddle.trainer_config_helpers.poolings
Expand Down Expand Up @@ -27,4 +31,3 @@ SquareRootNPooling
.. automodule:: paddle.trainer_config_helpers.poolings
:members: SquareRootNPooling
:noindex:

9 changes: 0 additions & 9 deletions doc/ui/api/trainer_config_helpers/poolings_index.rst

This file was deleted.

0 comments on commit a0bd895

Please sign in to comment.