未验证 提交 c50b6ed7 编写于 作者: S Shan Yi 提交者: GitHub

Merge pull request #243 from tink2123/reorder_api

reorder the api
...@@ -14,12 +14,12 @@ ErrorClipByValue ...@@ -14,12 +14,12 @@ ErrorClipByValue
:members: :members:
:noindex: :noindex:
.. _api_fluid_clip_GradientClipByValue: .. _api_fluid_clip_GradientClipByGlobalNorm:
GradientClipByValue GradientClipByGlobalNorm
------------------- ------------------------
.. autoclass:: paddle.fluid.clip.GradientClipByValue .. autoclass:: paddle.fluid.clip.GradientClipByGlobalNorm
:members: :members:
:noindex: :noindex:
...@@ -32,12 +32,12 @@ GradientClipByNorm ...@@ -32,12 +32,12 @@ GradientClipByNorm
:members: :members:
:noindex: :noindex:
.. _api_fluid_clip_GradientClipByGlobalNorm: .. _api_fluid_clip_GradientClipByValue:
GradientClipByGlobalNorm GradientClipByValue
------------------------ -------------------
.. autoclass:: paddle.fluid.clip.GradientClipByGlobalNorm .. autoclass:: paddle.fluid.clip.GradientClipByValue
:members: :members:
:noindex: :noindex:
...@@ -5,6 +5,14 @@ ...@@ -5,6 +5,14 @@
fluid.executor fluid.executor
============== ==============
.. _api_fluid_executor__switch_scope:
_switch_scope
-------------
.. autofunction:: paddle.fluid.executor._switch_scope
:noindex:
.. _api_fluid_executor_Executor: .. _api_fluid_executor_Executor:
Executor Executor
...@@ -30,11 +38,3 @@ scope_guard ...@@ -30,11 +38,3 @@ scope_guard
.. autofunction:: paddle.fluid.executor.scope_guard .. autofunction:: paddle.fluid.executor.scope_guard
:noindex: :noindex:
.. _api_fluid_executor__switch_scope:
_switch_scope
-------------
.. autofunction:: paddle.fluid.executor._switch_scope
:noindex:
...@@ -5,104 +5,89 @@ ...@@ -5,104 +5,89 @@
fluid fluid
===== =====
.. _api_fluid_Program: .. _api_fluid__switch_scope:
Program _switch_scope
------- -------------
.. autoclass:: paddle.fluid.Program .. autofunction:: paddle.fluid._switch_scope
:members:
:noindex: :noindex:
.. _api_fluid_Operator: .. _api_fluid_BuildStrategy:
Operator BuildStrategy
-------- -------------
.. autoclass:: paddle.fluid.Operator .. autoclass:: paddle.fluid.BuildStrategy
:members: :members:
:noindex: :noindex:
.. _api_fluid_Parameter: .. _api_fluid_CPUPlace:
Parameter CPUPlace
--------- --------
.. autoclass:: paddle.fluid.Parameter .. autoclass:: paddle.fluid.CPUPlace
:members: :members:
:noindex: :noindex:
.. _api_fluid_default_startup_program: .. _api_fluid_create_lod_tensor:
default_startup_program create_lod_tensor
----------------------- -----------------
.. autofunction:: paddle.fluid.default_startup_program .. autofunction:: paddle.fluid.create_lod_tensor
:noindex: :noindex:
.. _api_fluid_default_main_program: .. _api_fluid_create_random_int_lodtensor:
default_main_program create_random_int_lodtensor
-------------------- ---------------------------
.. autofunction:: paddle.fluid.default_main_program .. autofunction:: paddle.fluid.create_random_int_lodtensor
:noindex: :noindex:
.. _api_fluid_program_guard: .. _api_fluid_CUDAPinnedPlace:
program_guard CUDAPinnedPlace
------------- ---------------
.. autofunction:: paddle.fluid.program_guard .. autoclass:: paddle.fluid.CUDAPinnedPlace
:members:
:noindex: :noindex:
.. _api_fluid_get_var: .. _api_fluid_CUDAPlace:
get_var CUDAPlace
------- ---------
.. autofunction:: paddle.fluid.get_var .. autoclass:: paddle.fluid.CUDAPlace
:members:
:noindex: :noindex:
.. _api_fluid_name_scope: .. _api_fluid_DataFeeder:
name_scope DataFeeder
---------- ----------
.. autofunction:: paddle.fluid.name_scope .. autoclass:: paddle.fluid.DataFeeder
:noindex:
.. _api_fluid_Executor:
Executor
--------
.. autoclass:: paddle.fluid.Executor
:members: :members:
:noindex: :noindex:
.. _api_fluid_global_scope: .. _api_fluid_default_main_program:
global_scope
------------
.. autofunction:: paddle.fluid.global_scope
:noindex:
.. _api_fluid_scope_guard:
scope_guard default_main_program
----------- --------------------
.. autofunction:: paddle.fluid.scope_guard .. autofunction:: paddle.fluid.default_main_program
:noindex: :noindex:
.. _api_fluid__switch_scope: .. _api_fluid_default_startup_program:
_switch_scope default_startup_program
------------- -----------------------
.. autofunction:: paddle.fluid._switch_scope .. autofunction:: paddle.fluid.default_startup_program
:noindex: :noindex:
.. _api_fluid_DistributeTranspiler: .. _api_fluid_DistributeTranspiler:
...@@ -114,22 +99,6 @@ DistributeTranspiler ...@@ -114,22 +99,6 @@ DistributeTranspiler
:members: :members:
:noindex: :noindex:
.. _api_fluid_memory_optimize:
memory_optimize
---------------
.. autofunction:: paddle.fluid.memory_optimize
:noindex:
.. _api_fluid_release_memory:
release_memory
--------------
.. autofunction:: paddle.fluid.release_memory
:noindex:
.. _api_fluid_DistributeTranspilerConfig: .. _api_fluid_DistributeTranspilerConfig:
DistributeTranspilerConfig DistributeTranspilerConfig
...@@ -139,15 +108,6 @@ DistributeTranspilerConfig ...@@ -139,15 +108,6 @@ DistributeTranspilerConfig
:members: :members:
:noindex: :noindex:
.. _api_fluid_ParallelExecutor:
ParallelExecutor
----------------
.. autoclass:: paddle.fluid.ParallelExecutor
:members:
:noindex:
.. _api_fluid_ExecutionStrategy: .. _api_fluid_ExecutionStrategy:
ExecutionStrategy ExecutionStrategy
...@@ -157,29 +117,21 @@ ExecutionStrategy ...@@ -157,29 +117,21 @@ ExecutionStrategy
:members: :members:
:noindex: :noindex:
.. _api_fluid_BuildStrategy: .. _api_fluid_Executor:
BuildStrategy Executor
------------- --------
.. autoclass:: paddle.fluid.BuildStrategy .. autoclass:: paddle.fluid.Executor
:members: :members:
:noindex: :noindex:
.. _api_fluid_create_lod_tensor: .. _api_fluid_global_scope:
create_lod_tensor
-----------------
.. autofunction:: paddle.fluid.create_lod_tensor
:noindex:
.. _api_fluid_create_random_int_lodtensor:
create_random_int_lodtensor global_scope
--------------------------- ------------
.. autofunction:: paddle.fluid.create_random_int_lodtensor .. autofunction:: paddle.fluid.global_scope
:noindex: :noindex:
.. _api_fluid_LoDTensor: .. _api_fluid_LoDTensor:
...@@ -200,39 +152,28 @@ LoDTensorArray ...@@ -200,39 +152,28 @@ LoDTensorArray
:members: :members:
:noindex: :noindex:
.. _api_fluid_CPUPlace: .. _api_fluid_memory_optimize:
CPUPlace
--------
.. autoclass:: paddle.fluid.CPUPlace
:members:
:noindex:
.. _api_fluid_CUDAPlace:
CUDAPlace memory_optimize
--------- ---------------
.. autoclass:: paddle.fluid.CUDAPlace .. autofunction:: paddle.fluid.memory_optimize
:members:
:noindex: :noindex:
.. _api_fluid_CUDAPinnedPlace: .. _api_fluid_name_scope:
CUDAPinnedPlace name_scope
--------------- ----------
.. autoclass:: paddle.fluid.CUDAPinnedPlace .. autofunction:: paddle.fluid.name_scope
:members:
:noindex: :noindex:
.. _api_fluid_Tensor: .. _api_fluid_ParallelExecutor:
Tensor ParallelExecutor
------ ----------------
.. autoclass:: paddle.fluid.Tensor .. autoclass:: paddle.fluid.ParallelExecutor
:members: :members:
:noindex: :noindex:
...@@ -245,22 +186,29 @@ ParamAttr ...@@ -245,22 +186,29 @@ ParamAttr
:members: :members:
:noindex: :noindex:
.. _api_fluid_WeightNormParamAttr: .. _api_fluid_Program:
WeightNormParamAttr Program
------------------- -------
.. autoclass:: paddle.fluid.WeightNormParamAttr .. autoclass:: paddle.fluid.Program
:members: :members:
:noindex: :noindex:
.. _api_fluid_DataFeeder: .. _api_fluid_program_guard:
DataFeeder program_guard
---------- -------------
.. autoclass:: paddle.fluid.DataFeeder .. autofunction:: paddle.fluid.program_guard
:members: :noindex:
.. _api_fluid_release_memory:
release_memory
--------------
.. autofunction:: paddle.fluid.release_memory
:noindex: :noindex:
.. _api_fluid_Scope: .. _api_fluid_Scope:
...@@ -272,3 +220,29 @@ Scope ...@@ -272,3 +220,29 @@ Scope
:members: :members:
:noindex: :noindex:
.. _api_fluid_scope_guard:
scope_guard
-----------
.. autofunction:: paddle.fluid.scope_guard
:noindex:
.. _api_fluid_Tensor:
Tensor
------
.. autoclass:: paddle.fluid.Tensor
:members:
:noindex:
.. _api_fluid_WeightNormParamAttr:
WeightNormParamAttr
-------------------
.. autoclass:: paddle.fluid.WeightNormParamAttr
:members:
:noindex:
...@@ -57,11 +57,11 @@ class DocGenerator(object): ...@@ -57,11 +57,11 @@ class DocGenerator(object):
raise ValueError("Cannot find submodule {0}".format(submodule_name)) raise ValueError("Cannot find submodule {0}".format(submodule_name))
self.print_section(submodule_name) self.print_section(submodule_name)
for item in submodule.__all__: for item in sorted(submodule.__all__,key=str.lower):
self.print_item(item) self.print_item(item)
def print_current_module(self): def print_current_module(self):
for item in self.module.__all__: for item in sorted(self.module.__all__,key=str.lower):
self.print_item(item) self.print_item(item)
def print_section(self, name): def print_section(self, name):
......
import os.path, time
import exceptions
import glob
import os
if __name__ == '__main__':
file_object = open('index_en.rst', 'w')
file_object.write('''=============
API Reference
=============
.. toctree::
:maxdepth: 1
''')
file_object.write(' api_guides/index.rst'+'\n')
file_object.write(' fluid.rst'+'\n')
for file_name in sorted(glob.glob("*.rst")):
if file_name != ('index_en.rst' and 'fluid.rst'):
file_object.write(' '+file_name + "\n")
file_object.close( )
...@@ -6,22 +6,23 @@ API Reference ...@@ -6,22 +6,23 @@ API Reference
:maxdepth: 1 :maxdepth: 1
api_guides/index.rst api_guides/index.rst
fluid.rst fluid.rst
layers.rst average.rst
backward.rst
clip.rst
data.rst
data_feeder.rst data_feeder.rst
executor.rst executor.rst
initializer.rst initializer.rst
io.rst
layers.rst
metrics.rst metrics.rst
nets.rst nets.rst
clip.rst
optimizer.rst optimizer.rst
param_attr.rst param_attr.rst
profiler.rst profiler.rst
recordio_writer.rst
regularizer.rst regularizer.rst
io.rst
data.rst
transpiler.rst transpiler.rst
recordio_writer.rst
backward.rst
average.rst
profiler.rst
...@@ -5,66 +5,39 @@ ...@@ -5,66 +5,39 @@
fluid.initializer fluid.initializer
================= =================
.. _api_fluid_initializer_Constant: .. _api_fluid_initializer_Bilinear:
Constant Bilinear
-------- --------
.. autoclass:: paddle.fluid.initializer.Constant .. autoclass:: paddle.fluid.initializer.Bilinear
:members:
:noindex:
.. _api_fluid_initializer_Uniform:
Uniform
-------
.. autoclass:: paddle.fluid.initializer.Uniform
:members:
:noindex:
.. _api_fluid_initializer_Normal:
Normal
------
.. autoclass:: paddle.fluid.initializer.Normal
:members:
:noindex:
.. _api_fluid_initializer_TruncatedNormal:
TruncatedNormal
---------------
.. autoclass:: paddle.fluid.initializer.TruncatedNormal
:members: :members:
:noindex: :noindex:
.. _api_fluid_initializer_Xavier: .. _api_fluid_initializer_BilinearInitializer:
Xavier BilinearInitializer
------ -------------------
.. autoclass:: paddle.fluid.initializer.Xavier .. autoclass:: paddle.fluid.initializer.BilinearInitializer
:members: :members:
:noindex: :noindex:
.. _api_fluid_initializer_Bilinear: .. _api_fluid_initializer_Constant:
Bilinear Constant
-------- --------
.. autoclass:: paddle.fluid.initializer.Bilinear .. autoclass:: paddle.fluid.initializer.Constant
:members: :members:
:noindex: :noindex:
.. _api_fluid_initializer_MSRA: .. _api_fluid_initializer_ConstantInitializer:
MSRA ConstantInitializer
---- -------------------
.. autoclass:: paddle.fluid.initializer.MSRA .. autoclass:: paddle.fluid.initializer.ConstantInitializer
:members: :members:
:noindex: :noindex:
...@@ -84,21 +57,30 @@ init_on_cpu ...@@ -84,21 +57,30 @@ init_on_cpu
.. autofunction:: paddle.fluid.initializer.init_on_cpu .. autofunction:: paddle.fluid.initializer.init_on_cpu
:noindex: :noindex:
.. _api_fluid_initializer_ConstantInitializer: .. _api_fluid_initializer_MSRA:
ConstantInitializer MSRA
------------------- ----
.. autoclass:: paddle.fluid.initializer.ConstantInitializer .. autoclass:: paddle.fluid.initializer.MSRA
:members: :members:
:noindex: :noindex:
.. _api_fluid_initializer_UniformInitializer: .. _api_fluid_initializer_MSRAInitializer:
UniformInitializer MSRAInitializer
------------------ ---------------
.. autoclass:: paddle.fluid.initializer.UniformInitializer .. autoclass:: paddle.fluid.initializer.MSRAInitializer
:members:
:noindex:
.. _api_fluid_initializer_Normal:
Normal
------
.. autoclass:: paddle.fluid.initializer.Normal
:members: :members:
:noindex: :noindex:
...@@ -111,6 +93,15 @@ NormalInitializer ...@@ -111,6 +93,15 @@ NormalInitializer
:members: :members:
:noindex: :noindex:
.. _api_fluid_initializer_TruncatedNormal:
TruncatedNormal
---------------
.. autoclass:: paddle.fluid.initializer.TruncatedNormal
:members:
:noindex:
.. _api_fluid_initializer_TruncatedNormalInitializer: .. _api_fluid_initializer_TruncatedNormalInitializer:
TruncatedNormalInitializer TruncatedNormalInitializer
...@@ -120,30 +111,39 @@ TruncatedNormalInitializer ...@@ -120,30 +111,39 @@ TruncatedNormalInitializer
:members: :members:
:noindex: :noindex:
.. _api_fluid_initializer_XavierInitializer: .. _api_fluid_initializer_Uniform:
XavierInitializer Uniform
----------------- -------
.. autoclass:: paddle.fluid.initializer.XavierInitializer .. autoclass:: paddle.fluid.initializer.Uniform
:members: :members:
:noindex: :noindex:
.. _api_fluid_initializer_BilinearInitializer: .. _api_fluid_initializer_UniformInitializer:
BilinearInitializer UniformInitializer
------------------- ------------------
.. autoclass:: paddle.fluid.initializer.BilinearInitializer .. autoclass:: paddle.fluid.initializer.UniformInitializer
:members: :members:
:noindex: :noindex:
.. _api_fluid_initializer_MSRAInitializer: .. _api_fluid_initializer_Xavier:
MSRAInitializer Xavier
--------------- ------
.. autoclass:: paddle.fluid.initializer.MSRAInitializer .. autoclass:: paddle.fluid.initializer.Xavier
:members:
:noindex:
.. _api_fluid_initializer_XavierInitializer:
XavierInitializer
-----------------
.. autoclass:: paddle.fluid.initializer.XavierInitializer
:members: :members:
:noindex: :noindex:
...@@ -5,28 +5,28 @@ ...@@ -5,28 +5,28 @@
fluid.io fluid.io
======== ========
.. _api_fluid_io_save_vars: .. _api_fluid_io_load_inference_model:
save_vars load_inference_model
--------- --------------------
.. autofunction:: paddle.fluid.io.save_vars .. autofunction:: paddle.fluid.io.load_inference_model
:noindex: :noindex:
.. _api_fluid_io_save_params: .. _api_fluid_io_load_params:
save_params load_params
----------- -----------
.. autofunction:: paddle.fluid.io.save_params .. autofunction:: paddle.fluid.io.load_params
:noindex: :noindex:
.. _api_fluid_io_save_persistables: .. _api_fluid_io_load_persistables:
save_persistables load_persistables
----------------- -----------------
.. autofunction:: paddle.fluid.io.save_persistables .. autofunction:: paddle.fluid.io.load_persistables
:noindex: :noindex:
.. _api_fluid_io_load_vars: .. _api_fluid_io_load_vars:
...@@ -37,35 +37,35 @@ load_vars ...@@ -37,35 +37,35 @@ load_vars
.. autofunction:: paddle.fluid.io.load_vars .. autofunction:: paddle.fluid.io.load_vars
:noindex: :noindex:
.. _api_fluid_io_load_params: .. _api_fluid_io_save_inference_model:
load_params save_inference_model
----------- --------------------
.. autofunction:: paddle.fluid.io.load_params .. autofunction:: paddle.fluid.io.save_inference_model
:noindex: :noindex:
.. _api_fluid_io_load_persistables: .. _api_fluid_io_save_params:
load_persistables save_params
----------------- -----------
.. autofunction:: paddle.fluid.io.load_persistables .. autofunction:: paddle.fluid.io.save_params
:noindex: :noindex:
.. _api_fluid_io_save_inference_model: .. _api_fluid_io_save_persistables:
save_inference_model save_persistables
-------------------- -----------------
.. autofunction:: paddle.fluid.io.save_inference_model .. autofunction:: paddle.fluid.io.save_persistables
:noindex: :noindex:
.. _api_fluid_io_load_inference_model: .. _api_fluid_io_save_vars:
load_inference_model save_vars
-------------------- ---------
.. autofunction:: paddle.fluid.io.load_inference_model .. autofunction:: paddle.fluid.io.save_vars
:noindex: :noindex:
此差异已折叠。
...@@ -5,84 +5,84 @@ ...@@ -5,84 +5,84 @@
fluid.metrics fluid.metrics
============= =============
.. _api_fluid_metrics_MetricBase: .. _api_fluid_metrics_Accuracy:
MetricBase Accuracy
---------- --------
.. autoclass:: paddle.fluid.metrics.MetricBase .. autoclass:: paddle.fluid.metrics.Accuracy
:members: :members:
:noindex: :noindex:
.. _api_fluid_metrics_CompositeMetric: .. _api_fluid_metrics_Auc:
CompositeMetric Auc
--------------- ---
.. autoclass:: paddle.fluid.metrics.CompositeMetric .. autoclass:: paddle.fluid.metrics.Auc
:members: :members:
:noindex: :noindex:
.. _api_fluid_metrics_Precision: .. _api_fluid_metrics_ChunkEvaluator:
Precision ChunkEvaluator
--------- --------------
.. autoclass:: paddle.fluid.metrics.Precision .. autoclass:: paddle.fluid.metrics.ChunkEvaluator
:members: :members:
:noindex: :noindex:
.. _api_fluid_metrics_Recall: .. _api_fluid_metrics_CompositeMetric:
Recall CompositeMetric
------ ---------------
.. autoclass:: paddle.fluid.metrics.Recall .. autoclass:: paddle.fluid.metrics.CompositeMetric
:members: :members:
:noindex: :noindex:
.. _api_fluid_metrics_Accuracy: .. _api_fluid_metrics_DetectionMAP:
Accuracy DetectionMAP
-------- ------------
.. autoclass:: paddle.fluid.metrics.Accuracy .. autoclass:: paddle.fluid.metrics.DetectionMAP
:members: :members:
:noindex: :noindex:
.. _api_fluid_metrics_ChunkEvaluator: .. _api_fluid_metrics_EditDistance:
ChunkEvaluator EditDistance
-------------- ------------
.. autoclass:: paddle.fluid.metrics.ChunkEvaluator .. autoclass:: paddle.fluid.metrics.EditDistance
:members: :members:
:noindex: :noindex:
.. _api_fluid_metrics_EditDistance: .. _api_fluid_metrics_MetricBase:
EditDistance MetricBase
------------ ----------
.. autoclass:: paddle.fluid.metrics.EditDistance .. autoclass:: paddle.fluid.metrics.MetricBase
:members: :members:
:noindex: :noindex:
.. _api_fluid_metrics_DetectionMAP: .. _api_fluid_metrics_Precision:
DetectionMAP Precision
------------ ---------
.. autoclass:: paddle.fluid.metrics.DetectionMAP .. autoclass:: paddle.fluid.metrics.Precision
:members: :members:
:noindex: :noindex:
.. _api_fluid_metrics_Auc: .. _api_fluid_metrics_Recall:
Auc Recall
--- ------
.. autoclass:: paddle.fluid.metrics.Auc .. autoclass:: paddle.fluid.metrics.Recall
:members: :members:
:noindex: :noindex:
...@@ -5,22 +5,6 @@ ...@@ -5,22 +5,6 @@
fluid.nets fluid.nets
========== ==========
.. _api_fluid_nets_simple_img_conv_pool:
simple_img_conv_pool
--------------------
.. autofunction:: paddle.fluid.nets.simple_img_conv_pool
:noindex:
.. _api_fluid_nets_sequence_conv_pool:
sequence_conv_pool
------------------
.. autofunction:: paddle.fluid.nets.sequence_conv_pool
:noindex:
.. _api_fluid_nets_glu: .. _api_fluid_nets_glu:
glu glu
...@@ -29,6 +13,14 @@ glu ...@@ -29,6 +13,14 @@ glu
.. autofunction:: paddle.fluid.nets.glu .. autofunction:: paddle.fluid.nets.glu
:noindex: :noindex:
.. _api_fluid_nets_img_conv_group:
img_conv_group
--------------
.. autofunction:: paddle.fluid.nets.img_conv_group
:noindex:
.. _api_fluid_nets_scaled_dot_product_attention: .. _api_fluid_nets_scaled_dot_product_attention:
scaled_dot_product_attention scaled_dot_product_attention
...@@ -37,11 +29,19 @@ scaled_dot_product_attention ...@@ -37,11 +29,19 @@ scaled_dot_product_attention
.. autofunction:: paddle.fluid.nets.scaled_dot_product_attention .. autofunction:: paddle.fluid.nets.scaled_dot_product_attention
:noindex: :noindex:
.. _api_fluid_nets_img_conv_group: .. _api_fluid_nets_sequence_conv_pool:
img_conv_group sequence_conv_pool
-------------- ------------------
.. autofunction:: paddle.fluid.nets.img_conv_group .. autofunction:: paddle.fluid.nets.sequence_conv_pool
:noindex:
.. _api_fluid_nets_simple_img_conv_pool:
simple_img_conv_pool
--------------------
.. autofunction:: paddle.fluid.nets.simple_img_conv_pool
:noindex: :noindex:
...@@ -5,21 +5,12 @@ ...@@ -5,21 +5,12 @@
fluid.optimizer fluid.optimizer
=============== ===============
.. _api_fluid_optimizer_SGD: .. _api_fluid_optimizer_Adadelta:
SGD
---
.. autoclass:: paddle.fluid.optimizer.SGD
:members:
:noindex:
.. _api_fluid_optimizer_Momentum:
Momentum Adadelta
-------- --------
.. autoclass:: paddle.fluid.optimizer.Momentum .. autoclass:: paddle.fluid.optimizer.Adadelta
:members: :members:
:noindex: :noindex:
...@@ -32,6 +23,15 @@ Adagrad ...@@ -32,6 +23,15 @@ Adagrad
:members: :members:
:noindex: :noindex:
.. _api_fluid_optimizer_AdagradOptimizer:
AdagradOptimizer
----------------
.. autoclass:: paddle.fluid.optimizer.AdagradOptimizer
:members:
:noindex:
.. _api_fluid_optimizer_Adam: .. _api_fluid_optimizer_Adam:
Adam Adam
...@@ -50,120 +50,120 @@ Adamax ...@@ -50,120 +50,120 @@ Adamax
:members: :members:
:noindex: :noindex:
.. _api_fluid_optimizer_DecayedAdagrad: .. _api_fluid_optimizer_AdamaxOptimizer:
DecayedAdagrad AdamaxOptimizer
-------------- ---------------
.. autoclass:: paddle.fluid.optimizer.DecayedAdagrad .. autoclass:: paddle.fluid.optimizer.AdamaxOptimizer
:members: :members:
:noindex: :noindex:
.. _api_fluid_optimizer_Ftrl: .. _api_fluid_optimizer_AdamOptimizer:
Ftrl AdamOptimizer
---- -------------
.. autoclass:: paddle.fluid.optimizer.Ftrl .. autoclass:: paddle.fluid.optimizer.AdamOptimizer
:members: :members:
:noindex: :noindex:
.. _api_fluid_optimizer_SGDOptimizer: .. _api_fluid_optimizer_DecayedAdagrad:
SGDOptimizer DecayedAdagrad
------------ --------------
.. autoclass:: paddle.fluid.optimizer.SGDOptimizer .. autoclass:: paddle.fluid.optimizer.DecayedAdagrad
:members: :members:
:noindex: :noindex:
.. _api_fluid_optimizer_MomentumOptimizer: .. _api_fluid_optimizer_DecayedAdagradOptimizer:
MomentumOptimizer DecayedAdagradOptimizer
----------------- -----------------------
.. autoclass:: paddle.fluid.optimizer.MomentumOptimizer .. autoclass:: paddle.fluid.optimizer.DecayedAdagradOptimizer
:members: :members:
:noindex: :noindex:
.. _api_fluid_optimizer_AdagradOptimizer: .. _api_fluid_optimizer_Ftrl:
AdagradOptimizer Ftrl
---------------- ----
.. autoclass:: paddle.fluid.optimizer.AdagradOptimizer .. autoclass:: paddle.fluid.optimizer.Ftrl
:members: :members:
:noindex: :noindex:
.. _api_fluid_optimizer_AdamOptimizer: .. _api_fluid_optimizer_FtrlOptimizer:
AdamOptimizer FtrlOptimizer
------------- -------------
.. autoclass:: paddle.fluid.optimizer.AdamOptimizer .. autoclass:: paddle.fluid.optimizer.FtrlOptimizer
:members: :members:
:noindex: :noindex:
.. _api_fluid_optimizer_AdamaxOptimizer: .. _api_fluid_optimizer_ModelAverage:
AdamaxOptimizer ModelAverage
--------------- ------------
.. autoclass:: paddle.fluid.optimizer.AdamaxOptimizer .. autoclass:: paddle.fluid.optimizer.ModelAverage
:members: :members:
:noindex: :noindex:
.. _api_fluid_optimizer_DecayedAdagradOptimizer: .. _api_fluid_optimizer_Momentum:
DecayedAdagradOptimizer Momentum
----------------------- --------
.. autoclass:: paddle.fluid.optimizer.DecayedAdagradOptimizer .. autoclass:: paddle.fluid.optimizer.Momentum
:members: :members:
:noindex: :noindex:
.. _api_fluid_optimizer_RMSPropOptimizer: .. _api_fluid_optimizer_MomentumOptimizer:
RMSPropOptimizer MomentumOptimizer
---------------- -----------------
.. autoclass:: paddle.fluid.optimizer.RMSPropOptimizer .. autoclass:: paddle.fluid.optimizer.MomentumOptimizer
:members: :members:
:noindex: :noindex:
.. _api_fluid_optimizer_FtrlOptimizer: .. _api_fluid_optimizer_RMSPropOptimizer:
FtrlOptimizer RMSPropOptimizer
------------- ----------------
.. autoclass:: paddle.fluid.optimizer.FtrlOptimizer .. autoclass:: paddle.fluid.optimizer.RMSPropOptimizer
:members: :members:
:noindex: :noindex:
.. _api_fluid_optimizer_Adadelta: .. _api_fluid_optimizer_RMSPropOptimizer:
Adadelta RMSPropOptimizer
-------- ----------------
.. autoclass:: paddle.fluid.optimizer.Adadelta .. autoclass:: paddle.fluid.optimizer.RMSPropOptimizer
:members: :members:
:noindex: :noindex:
.. _api_fluid_optimizer_ModelAverage: .. _api_fluid_optimizer_SGD:
ModelAverage SGD
------------ ---
.. autoclass:: paddle.fluid.optimizer.ModelAverage .. autoclass:: paddle.fluid.optimizer.SGD
:members: :members:
:noindex: :noindex:
.. _api_fluid_optimizer_RMSPropOptimizer: .. _api_fluid_optimizer_SGDOptimizer:
RMSPropOptimizer SGDOptimizer
---------------- ------------
.. autoclass:: paddle.fluid.optimizer.RMSPropOptimizer .. autoclass:: paddle.fluid.optimizer.SGDOptimizer
:members: :members:
:noindex: :noindex:
...@@ -13,14 +13,6 @@ cuda_profiler ...@@ -13,14 +13,6 @@ cuda_profiler
.. autofunction:: paddle.fluid.profiler.cuda_profiler .. autofunction:: paddle.fluid.profiler.cuda_profiler
:noindex: :noindex:
.. _api_fluid_profiler_reset_profiler:
reset_profiler
--------------
.. autofunction:: paddle.fluid.profiler.reset_profiler
:noindex:
.. _api_fluid_profiler_profiler: .. _api_fluid_profiler_profiler:
profiler profiler
...@@ -29,6 +21,14 @@ profiler ...@@ -29,6 +21,14 @@ profiler
.. autofunction:: paddle.fluid.profiler.profiler .. autofunction:: paddle.fluid.profiler.profiler
:noindex: :noindex:
.. _api_fluid_profiler_reset_profiler:
reset_profiler
--------------
.. autofunction:: paddle.fluid.profiler.reset_profiler
:noindex:
.. _api_fluid_profiler_start_profiler: .. _api_fluid_profiler_start_profiler:
start_profiler start_profiler
......
...@@ -14,21 +14,21 @@ L1Decay ...@@ -14,21 +14,21 @@ L1Decay
:members: :members:
:noindex: :noindex:
.. _api_fluid_regularizer_L2Decay: .. _api_fluid_regularizer_L1DecayRegularizer:
L2Decay L1DecayRegularizer
------- ------------------
.. autoclass:: paddle.fluid.regularizer.L2Decay .. autoclass:: paddle.fluid.regularizer.L1DecayRegularizer
:members: :members:
:noindex: :noindex:
.. _api_fluid_regularizer_L1DecayRegularizer: .. _api_fluid_regularizer_L2Decay:
L1DecayRegularizer L2Decay
------------------ -------
.. autoclass:: paddle.fluid.regularizer.L1DecayRegularizer .. autoclass:: paddle.fluid.regularizer.L2Decay
:members: :members:
:noindex: :noindex:
......
...@@ -14,6 +14,24 @@ DistributeTranspiler ...@@ -14,6 +14,24 @@ DistributeTranspiler
:members: :members:
:noindex: :noindex:
.. _api_fluid_transpiler_DistributeTranspilerConfig:
DistributeTranspilerConfig
--------------------------
.. autoclass:: paddle.fluid.transpiler.DistributeTranspilerConfig
:members:
:noindex:
.. _api_fluid_transpiler_HashName:
HashName
--------
.. autoclass:: paddle.fluid.transpiler.HashName
:members:
:noindex:
.. _api_fluid_transpiler_memory_optimize: .. _api_fluid_transpiler_memory_optimize:
memory_optimize memory_optimize
...@@ -30,15 +48,6 @@ release_memory ...@@ -30,15 +48,6 @@ release_memory
.. autofunction:: paddle.fluid.transpiler.release_memory .. autofunction:: paddle.fluid.transpiler.release_memory
:noindex: :noindex:
.. _api_fluid_transpiler_HashName:
HashName
--------
.. autoclass:: paddle.fluid.transpiler.HashName
:members:
:noindex:
.. _api_fluid_transpiler_RoundRobin: .. _api_fluid_transpiler_RoundRobin:
RoundRobin RoundRobin
...@@ -48,12 +57,3 @@ RoundRobin ...@@ -48,12 +57,3 @@ RoundRobin
:members: :members:
:noindex: :noindex:
.. _api_fluid_transpiler_DistributeTranspilerConfig:
DistributeTranspilerConfig
--------------------------
.. autoclass:: paddle.fluid.transpiler.DistributeTranspilerConfig
:members:
:noindex:
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册