Skip to content

Commit 32ec75a

Browse files
authored
Merge pull request #11140 from weixing02/new_api
New api
2 parents 524c81e + 726c0fb commit 32ec75a

File tree

4 files changed

+92
-54
lines changed

4 files changed

+92
-54
lines changed

doc/fluid/api/io.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,21 @@ get_inference_program
5959
.. autofunction:: paddle.fluid.io.get_inference_program
6060
:noindex:
6161

62+
save_checkpoint
63+
---------------
64+
65+
.. autofunction:: paddle.fluid.io.save_checkpoint
66+
:noindex:
67+
68+
load_checkpoint
69+
---------------
70+
71+
.. autofunction:: paddle.fluid.io.load_checkpoint
72+
:noindex:
73+
74+
clean_checkpoint
75+
----------------
76+
77+
.. autofunction:: paddle.fluid.io.clean_checkpoint
78+
:noindex:
79+

doc/fluid/api/layers.rst

Lines changed: 48 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,12 @@ Print
181181
.. autofunction:: paddle.fluid.layers.Print
182182
:noindex:
183183

184+
is_empty
185+
--------
186+
187+
.. autofunction:: paddle.fluid.layers.is_empty
188+
:noindex:
189+
184190
device
185191
======
186192

@@ -255,6 +261,19 @@ double_buffer
255261
.. autofunction:: paddle.fluid.layers.double_buffer
256262
:noindex:
257263

264+
random_data_generator
265+
---------------------
266+
267+
.. autofunction:: paddle.fluid.layers.random_data_generator
268+
:noindex:
269+
270+
Preprocessor
271+
------------
272+
273+
.. autoclass:: paddle.fluid.layers.Preprocessor
274+
:members:
275+
:noindex:
276+
258277
nn
259278
==
260279

@@ -594,6 +613,29 @@ roi_pool
594613
.. autofunction:: paddle.fluid.layers.roi_pool
595614
:noindex:
596615

616+
dice_loss
617+
---------
618+
619+
.. autofunction:: paddle.fluid.layers.dice_loss
620+
:noindex:
621+
622+
resize_bilinear
623+
---------------
624+
625+
.. autofunction:: paddle.fluid.layers.resize_bilinear
626+
:noindex:
627+
628+
gather
629+
------
630+
631+
.. autofunction:: paddle.fluid.layers.gather
632+
:noindex:
633+
634+
random_crop
635+
-----------
636+
637+
.. autofunction:: paddle.fluid.layers.random_crop
638+
:noindex:
597639

598640
ops
599641
===
@@ -742,6 +784,12 @@ sum
742784
.. autofunction:: paddle.fluid.layers.sum
743785
:noindex:
744786

787+
shape
788+
-----
789+
790+
.. autofunction:: paddle.fluid.layers.shape
791+
:noindex:
792+
745793
sigmoid
746794
-------
747795

@@ -991,27 +1039,3 @@ zeros
9911039
.. autofunction:: paddle.fluid.layers.zeros
9921040
:noindex:
9931041

994-
topk
995-
----
996-
997-
.. autofunction:: paddle.fluid.layers.topk
998-
:noindex:
999-
1000-
dice_loss
1001-
----
1002-
1003-
.. autofunction:: paddle.fluid.layers.dice_loss
1004-
:noindex:
1005-
1006-
resize_bilinear
1007-
____
1008-
1009-
.. autofunction:: paddle.fluid.layers.resize_bilinear
1010-
:noindex:
1011-
1012-
gather
1013-
____
1014-
1015-
.. autofunction:: paddle.fluid.layers.gather
1016-
:noindex:
1017-

doc/fluid/api/optimizer.rst

Lines changed: 14 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -47,28 +47,6 @@ DecayedAdagrad
4747
:members:
4848
:noindex:
4949

50-
Adadelta
51-
-----------------
52-
53-
.. autoclass:: paddle.fluid.optimizer.Adadelta
54-
:members:
55-
:noindex:
56-
57-
RMSProp
58-
-----------------
59-
60-
.. autoclass:: paddle.fluid.optimizer.RMSProp
61-
:members:
62-
:noindex:
63-
64-
ModelAverage
65-
-----------------
66-
67-
.. autoclass:: paddle.fluid.optimizer.ModelAverage
68-
:members:
69-
:noindex:
70-
71-
7250
SGDOptimizer
7351
------------
7452

@@ -111,25 +89,31 @@ DecayedAdagradOptimizer
11189
:members:
11290
:noindex:
11391

92+
RMSPropOptimizer
93+
----------------
11494

115-
AdadeltaOptimizer
116-
-----------------
117-
118-
.. autoclass:: paddle.fluid.optimizer.AdadeltaOptimizer
95+
.. autoclass:: paddle.fluid.optimizer.RMSPropOptimizer
11996
:members:
12097
:noindex:
12198

99+
Adadelta
100+
--------
122101

123-
RMSPropOptimizer
124-
-----------------
102+
.. autoclass:: paddle.fluid.optimizer.Adadelta
103+
:members:
104+
:noindex:
125105

126-
.. autoclass:: paddle.fluid.optimizer.RMSPropOptimizer
106+
ModelAverage
107+
------------
108+
109+
.. autoclass:: paddle.fluid.optimizer.ModelAverage
127110
:members:
128111
:noindex:
129-
112+
130113
Optimizer
131114
---------
132115

133116
.. autoclass:: paddle.fluid.optimizer.Optimizer
134117
:members:
135118
:noindex:
119+

doc/fluid/api/profiler.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,15 @@ profiler
2323
.. autofunction:: paddle.fluid.profiler.profiler
2424
:noindex:
2525

26+
start_profiler
27+
--------------
28+
29+
.. autofunction:: paddle.fluid.profiler.start_profiler
30+
:noindex:
31+
32+
stop_profiler
33+
-------------
34+
35+
.. autofunction:: paddle.fluid.profiler.stop_profiler
36+
:noindex:
37+

0 commit comments

Comments
 (0)