ISSUE=4584581 git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1413 1ad973e4-5ce8-4261-8a94-b56d1f490c56avx_docs
parent
4b7b99be9f
commit
fe3216508a
@ -1,5 +1,91 @@
|
|||||||
Activations
|
BaseActivation
|
||||||
===========
|
==============
|
||||||
|
|
||||||
.. automodule:: paddle.trainer_config_helpers.activations
|
.. automodule:: paddle.trainer_config_helpers.activations
|
||||||
:members:
|
:members: BaseActivation
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
AbsActivation
|
||||||
|
===============
|
||||||
|
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.activations
|
||||||
|
:members: AbsActivation
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
IdentityActivation
|
||||||
|
==================
|
||||||
|
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.activations
|
||||||
|
:members: IdentityActivation
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
LinearActivation
|
||||||
|
==================
|
||||||
|
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.activations
|
||||||
|
:members: LinearActivation
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
SquareActivation
|
||||||
|
================
|
||||||
|
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.activations
|
||||||
|
:members: SquareActivation
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
SigmoidActivation
|
||||||
|
=================
|
||||||
|
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.activations
|
||||||
|
:members: SigmoidActivation
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
SoftmaxActivation
|
||||||
|
=================
|
||||||
|
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.activations
|
||||||
|
:members: SoftmaxActivation
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
SequenceSoftmaxActivation
|
||||||
|
=========================
|
||||||
|
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.activations
|
||||||
|
:members: SequenceSoftmax
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
ReluActivation
|
||||||
|
==============
|
||||||
|
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.activations
|
||||||
|
:members: ReluActivation
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
BReluActivation
|
||||||
|
===============
|
||||||
|
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.activations
|
||||||
|
:members: BReluActivation
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
SoftReluActivation
|
||||||
|
==================
|
||||||
|
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.activations
|
||||||
|
:members: SoftReluActivation
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
TanhActivation
|
||||||
|
==============
|
||||||
|
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.activations
|
||||||
|
:members: TanhActivation
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
STanhActivation
|
||||||
|
===============
|
||||||
|
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.activations
|
||||||
|
:members: STanhActivation
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
@ -1,5 +1,102 @@
|
|||||||
Evaluators
|
Base
|
||||||
==========
|
====
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.evaluators
|
||||||
|
:members: evaluator_base
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
Classification
|
||||||
|
==============
|
||||||
|
|
||||||
|
classification_error_evaluator
|
||||||
|
------------------------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.evaluators
|
||||||
|
:members: classification_error_evaluator
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
auc_evaluator
|
||||||
|
-------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.evaluators
|
||||||
|
:members: auc_evaluator
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
ctc_error_evaluator
|
||||||
|
-------------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.evaluators
|
||||||
|
:members: ctc_error_evaluator
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
chunk_evaluator
|
||||||
|
---------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.evaluators
|
||||||
|
:members: chunk_evaluator
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
precision_recall_evaluator
|
||||||
|
--------------------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.evaluators
|
||||||
|
:members: precision_recall_evaluator
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
Rank
|
||||||
|
====
|
||||||
|
|
||||||
|
pnpair_evaluator
|
||||||
|
----------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.evaluators
|
||||||
|
:members: pnpair_evaluator
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
Utils
|
||||||
|
=====
|
||||||
|
|
||||||
|
sum_evaluator
|
||||||
|
-------------
|
||||||
.. automodule:: paddle.trainer_config_helpers.evaluators
|
.. automodule:: paddle.trainer_config_helpers.evaluators
|
||||||
:members:
|
:members: sum_evaluator
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
column_sum_evaluator
|
||||||
|
--------------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.evaluators
|
||||||
|
:members: column_sum_evaluator
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
Print
|
||||||
|
=====
|
||||||
|
|
||||||
|
classification_error_printer_evaluator
|
||||||
|
--------------------------------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.evaluators
|
||||||
|
:members: classification_error_printer_evaluator
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
gradient_printer_evaluator
|
||||||
|
--------------------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.evaluators
|
||||||
|
:members: gradient_printer_evaluator
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
maxid_printer_evaluator
|
||||||
|
-----------------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.evaluators
|
||||||
|
:members: maxid_printer_evaluator
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
maxframe_printer_evaluator
|
||||||
|
---------------------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.evaluators
|
||||||
|
:members: maxframe_printer_evaluator
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
seqtext_printer_evaluator
|
||||||
|
-------------------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.evaluators
|
||||||
|
:members: seqtext_printer_evaluator
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
value_printer_evaluator
|
||||||
|
-----------------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.evaluators
|
||||||
|
:members: value_printer_evaluator
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
Evaluators
|
||||||
|
==========
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 3
|
||||||
|
|
||||||
|
evaluators.rst
|
@ -1,10 +1,10 @@
|
|||||||
# Trainer Config Helpers
|
# Trainer Config Helpers
|
||||||
|
|
||||||
* [Optimizer](optimizers.rst)
|
* [Optimizer](optimizers_index.rst)
|
||||||
* [Data Source](data_sources.rst)
|
* [Data Source](data_sources.rst)
|
||||||
* [Layers](layers_index.rst)
|
* [Layers](layers_index.rst)
|
||||||
* [Activations](activations.rst)
|
* [Activations](activations_index.rst)
|
||||||
* [Poolings](poolings.rst)
|
* [Poolings](poolings_index.rst)
|
||||||
* [Networks](networks.rst)
|
* [Networks](networks_index.rst)
|
||||||
* [Evaluators](evaluators.rst)
|
* [Evaluators](evaluators_index.rst)
|
||||||
* [Parameter and Extra Layer Attribute](attrs.rst)
|
* [Parameter and Extra Layer Attribute](attrs.rst)
|
||||||
|
@ -1,5 +1,96 @@
|
|||||||
Networks
|
NLP
|
||||||
========
|
===
|
||||||
|
|
||||||
|
sequence_conv_pool
|
||||||
|
------------------
|
||||||
.. automodule:: paddle.trainer_config_helpers.networks
|
.. automodule:: paddle.trainer_config_helpers.networks
|
||||||
:members:
|
:members: sequence_conv_pool
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
text_conv_pool
|
||||||
|
--------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.networks
|
||||||
|
:members: text_conv_pool
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
Images
|
||||||
|
======
|
||||||
|
|
||||||
|
img_conv_bn_pool
|
||||||
|
----------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.networks
|
||||||
|
:members: img_conv_bn_pool
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
img_conv_group
|
||||||
|
--------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.networks
|
||||||
|
:members: img_conv_group
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
simple_img_conv_pool
|
||||||
|
--------------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.networks
|
||||||
|
:members: simple_img_conv_pool
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
vgg_16_network
|
||||||
|
---------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.networks
|
||||||
|
:members: vgg_16_network
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
Recurrent
|
||||||
|
=========
|
||||||
|
|
||||||
|
lstmemory_unit
|
||||||
|
--------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.networks
|
||||||
|
:members: lstmemory_unit
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
lstmemory_group
|
||||||
|
---------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.networks
|
||||||
|
:members: lstmemory_group
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
gru_unit
|
||||||
|
---------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.networks
|
||||||
|
:members: gru_unit
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
simple_lstm
|
||||||
|
-----------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.networks
|
||||||
|
:members: simple_lstm
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
bidirectional_lstm
|
||||||
|
------------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.networks
|
||||||
|
:members: bidirectional_lstm
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
simple_attention
|
||||||
|
----------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.networks
|
||||||
|
:members: simple_attention
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
Miscs
|
||||||
|
=====
|
||||||
|
|
||||||
|
dropout_layer
|
||||||
|
--------------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.networks
|
||||||
|
:members: dropout_layer
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
outputs
|
||||||
|
-------
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.networks
|
||||||
|
:members: outputs
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
@ -0,0 +1,9 @@
|
|||||||
|
Networks
|
||||||
|
========
|
||||||
|
|
||||||
|
The networks module contains pieces of neural network that combine multiple layers.
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 3
|
||||||
|
|
||||||
|
networks.rst
|
@ -1,5 +1,48 @@
|
|||||||
Optimizers
|
BaseSGDOptimizer
|
||||||
==========
|
================
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.optimizers
|
||||||
|
:members: BaseSGDOptimizer
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
AdamOptimizer
|
||||||
|
=============
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.optimizers
|
||||||
|
:members: AdamOptimizer
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
AdamxOptimizer
|
||||||
|
================
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.optimizers
|
||||||
|
:members: AdamxOptimizer
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
AdaGradOptimizer
|
||||||
|
================
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.optimizers
|
||||||
|
:members: AdaGradOptimizer
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
DecayedAdaGradOptimizer
|
||||||
|
=======================
|
||||||
.. automodule:: paddle.trainer_config_helpers.optimizers
|
.. automodule:: paddle.trainer_config_helpers.optimizers
|
||||||
:members:
|
:members: DecayedAdaGradOptimizer
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
AdaDeltaOptimizer
|
||||||
|
=================
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.optimizers
|
||||||
|
:members: AdaDeltaOptimizer
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
RMSPropOptimizer
|
||||||
|
================
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.optimizers
|
||||||
|
:members: RMSPropOptimizer
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
settings
|
||||||
|
========
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.optimizers
|
||||||
|
:members: settings
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
Optimizers
|
||||||
|
==========
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 3
|
||||||
|
|
||||||
|
optimizers.rst
|
@ -1,5 +1,30 @@
|
|||||||
Poolings
|
BasePoolingType
|
||||||
========
|
===============
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.poolings
|
||||||
|
:members: BasePoolingType
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
AvgPooling
|
||||||
|
==========
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.poolings
|
||||||
|
:members: AvgPooling
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
MaxPooling
|
||||||
|
==========
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.poolings
|
||||||
|
:members: MaxPooling
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
SumPooling
|
||||||
|
==========
|
||||||
|
.. automodule:: paddle.trainer_config_helpers.poolings
|
||||||
|
:members: SumPooling
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
SquareRootNPooling
|
||||||
|
==================
|
||||||
.. automodule:: paddle.trainer_config_helpers.poolings
|
.. automodule:: paddle.trainer_config_helpers.poolings
|
||||||
:members:
|
:members: SquareRootNPooling
|
||||||
|
:noindex:
|
||||||
|
|
||||||
|
@ -0,0 +1,9 @@
|
|||||||
|
Poolings
|
||||||
|
========
|
||||||
|
|
||||||
|
These pooling types are used for sequence input, not for images.
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 3
|
||||||
|
|
||||||
|
poolings.rst
|
Loading…
Reference in new issue