Skip to content

Commit a0bd895

Browse files
authored
Merge pull request #463 from luotao1/doc2
modify document directory structure in model config helpers
2 parents 35c175d + e6396a1 commit a0bd895

15 files changed

+42
-62
lines changed

doc/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ User Guide
88
* [Build and Installation](build/index.rst)
99
* [Contribute Code](build/contribute_to_paddle.md)
1010
* [User Interface](ui/index.md)
11-
* [Model Config Interface](ui/api/trainer_config_helpers/index.md)
11+
* [Model Config Interface](ui/api/trainer_config_helpers/index.rst)
1212
* [Example and Demo](demo/index.md)
1313
* [Cluster Train](cluster/index.md)
1414

doc/ui/api/trainer_config_helpers/activations.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
===========
2+
Activations
3+
===========
4+
15
BaseActivation
26
==============
37

@@ -102,4 +106,3 @@ STanhActivation
102106
.. automodule:: paddle.trainer_config_helpers.activations
103107
:members: STanhActivation
104108
:noindex:
105-

doc/ui/api/trainer_config_helpers/activations_index.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

doc/ui/api/trainer_config_helpers/evaluators.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
==========
2+
Evaluators
3+
==========
4+
15
Base
26
====
37
.. automodule:: paddle.trainer_config_helpers.evaluators

doc/ui/api/trainer_config_helpers/evaluators_index.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

doc/ui/api/trainer_config_helpers/index.md

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Model Config Interface
2+
======================
3+
4+
.. toctree::
5+
:maxdepth: 1
6+
7+
optimizers.rst
8+
data_sources.rst
9+
layers.rst
10+
activations.rst
11+
poolings.rst
12+
networks.rst
13+
evaluators.rst
14+
attrs.rst

doc/ui/api/trainer_config_helpers/layers.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
======
2+
Layers
3+
======
4+
15
Base
26
======
37

@@ -47,7 +51,7 @@ conv_operator
4751
:noindex:
4852

4953
conv_projection
50-
-------------
54+
---------------
5155
.. automodule:: paddle.trainer_config_helpers.layers
5256
:members: conv_projection
5357
:noindex:

doc/ui/api/trainer_config_helpers/layers_index.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

doc/ui/api/trainer_config_helpers/networks.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
========
2+
Networks
3+
========
4+
5+
The networks module contains pieces of neural network that combine multiple layers.
6+
17
NLP
28
===
39

@@ -111,4 +117,3 @@ outputs
111117
.. automodule:: paddle.trainer_config_helpers.networks
112118
:members: outputs
113119
:noindex:
114-

0 commit comments

Comments
 (0)