Skip to content

Commit 362a14d

Browse files
authored
Merge pull request #1590 from luotao1/doc
modify api doc catalog
2 parents 8ba3df6 + 70f3807 commit 362a14d

File tree

11 files changed

+859
-115
lines changed

11 files changed

+859
-115
lines changed

doc/api/index_cn.rst

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,9 @@
11
API
22
===
33

4-
模型配置 API
5-
------------
6-
74
.. toctree::
85
:maxdepth: 1
96

10-
v2/model_configs.rst
11-
12-
数据 API
13-
--------
14-
15-
.. toctree::
16-
:maxdepth: 1
17-
18-
v2/data.rst
19-
20-
训练 API
21-
--------
22-
23-
.. toctree::
24-
:maxdepth: 1
25-
26-
v2/run_logic.rst
7+
模型配置 <v2/model_configs.rst>
8+
数据访问 <v2/data.rst>
9+
训练与应用 <v2/run_logic.rst>

doc/api/index_en.rst

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,9 @@
11
API
22
===
33

4-
Model Config API
5-
----------------
6-
74
.. toctree::
85
:maxdepth: 1
96

107
v2/model_configs.rst
11-
12-
Data API
13-
--------
14-
15-
.. toctree::
16-
:maxdepth: 1
17-
188
v2/data.rst
19-
20-
Train API
21-
---------
22-
23-
.. toctree::
24-
:maxdepth: 1
25-
26-
v2/run_logic.rst
9+
v2/run_logic.rst

doc/api/v2/config/activation.rst

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
===========
2+
Activation
3+
===========
4+
5+
Abs
6+
===
7+
8+
.. automodule:: paddle.v2.activation
9+
:members: Abs
10+
:noindex:
11+
12+
Exp
13+
===
14+
15+
.. automodule:: paddle.v2.activation
16+
:members: Exp
17+
:noindex:
18+
19+
Identity
20+
========
21+
22+
.. automodule:: paddle.v2.activation
23+
:members: Identity
24+
:noindex:
25+
26+
Linear
27+
======
28+
29+
.. automodule:: paddle.v2.activation
30+
:members: Linear
31+
:noindex:
32+
33+
Log
34+
===
35+
36+
.. automodule:: paddle.v2.activation
37+
:members: Log
38+
:noindex:
39+
40+
Square
41+
======
42+
43+
.. automodule:: paddle.v2.activation
44+
:members: Square
45+
:noindex:
46+
47+
Sigmoid
48+
=======
49+
50+
.. automodule:: paddle.v2.activation
51+
:members: Sigmoid
52+
:noindex:
53+
54+
Softmax
55+
=======
56+
57+
.. automodule:: paddle.v2.activation
58+
:members: Softmax
59+
:noindex:
60+
61+
SequenceSoftmax
62+
===============
63+
64+
.. automodule:: paddle.v2.activation
65+
:members: SequenceSoftmax
66+
:noindex:
67+
68+
Relu
69+
====
70+
71+
.. automodule:: paddle.v2.activation
72+
:members: Relu
73+
:noindex:
74+
75+
BRelu
76+
=====
77+
78+
.. automodule:: paddle.v2.activation
79+
:members: BRelu
80+
:noindex:
81+
82+
SoftRelu
83+
========
84+
85+
.. automodule:: paddle.v2.activation
86+
:members: SoftRelu
87+
:noindex:
88+
89+
Tanh
90+
====
91+
92+
.. automodule:: paddle.v2.activation
93+
:members: Tanh
94+
:noindex:
95+
96+
STanh
97+
=====
98+
99+
.. automodule:: paddle.v2.activation
100+
:members: STanh
101+
:noindex:

doc/api/v2/config/attr.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Parameter Attribute
2+
===================
3+
4+
.. automodule:: paddle.v2.attr
5+
:members:
6+
:noindex:

0 commit comments

Comments
 (0)