forked from PaddlePaddle/Paddle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjustment doc and code for CostLayer, GradientMachine and DataProvider.
Also add some comments for cost layers. ISSUE=4580653 git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1410 1ad973e4-5ce8-4261-8a94-b56d1f490c56
- Loading branch information
1 parent
4268885
commit f063752
Showing
15 changed files
with
426 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Activations | ||
============= | ||
|
||
.. doxygenfile:: paddle/gserver/activations/ActivationFunction.h | ||
.. doxygenfile:: paddle/gserver/activations/ActivationFunction.cpp | ||
.. doxygenfile:: paddle/gserver/activations/ActivationFunction.h | ||
.. doxygenfile:: paddle/gserver/activations/ActivationFunction.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,83 @@ | ||
Data Providers | ||
================ | ||
|
||
Data Provider | ||
Base DataProvider | ||
------------------ | ||
.. doxygenclass:: paddle::DataProvider | ||
:members: | ||
|
||
DataProviderGroup | ||
------------------- | ||
.. doxygenclass:: paddle::DataProviderGroup | ||
:members: | ||
|
||
MultiDataProvider | ||
------------------- | ||
.. doxygenclass:: paddle::MultiDataProvider | ||
:members: | ||
|
||
PyDataProvider | ||
=================== | ||
|
||
IFieldScanner | ||
------------- | ||
.. doxygenclass:: paddle::IFieldScanner | ||
:members: | ||
|
||
DenseScanner | ||
------------- | ||
.. doxygenclass:: paddle::DenseScanner | ||
:members: | ||
|
||
IndexScanner | ||
------------- | ||
.. doxygenclass:: paddle::IndexScanner | ||
:members: | ||
|
||
SparseNonValueScanner | ||
--------------------- | ||
.. doxygenclass:: paddle::SparseNonValueScanner | ||
:members: | ||
|
||
SparseValueScanner | ||
------------------ | ||
.. doxygenclass:: paddle::SparseValueScanner | ||
:members: | ||
|
||
SequenceScanner | ||
------------------ | ||
.. doxygenclass:: paddle::SparseValueScanner | ||
:members: | ||
|
||
IPyDataProviderCache | ||
-------------------- | ||
.. doxygenclass:: paddle::IPyDataProviderCache | ||
:members: | ||
|
||
NoCacheStrategy | ||
--------------- | ||
.. doxygenfile:: paddle/gserver/dataproviders/DataProvider.h | ||
.. doxygenfile:: paddle/gserver/dataproviders/PyDataProvider2.cpp | ||
.. doxygenfile:: paddle/gserver/dataproviders/DataProviderGroup.h | ||
.. doxygenfile:: paddle/gserver/dataproviders/MultiDataProvider.h | ||
.. doxygenclass:: paddle::NoCacheStrategy | ||
:members: | ||
|
||
Proto Data Provider | ||
CacheOnePassInMemory | ||
-------------------- | ||
.. doxygenfile:: paddle/gserver/dataproviders/ProtoDataProvider.h | ||
.. doxygenfile:: paddle/gserver/dataproviders/ProtoReader.h | ||
.. doxygenclass:: paddle::CacheOnePassInMemory | ||
:members: | ||
|
||
IPyDataProvider | ||
--------------- | ||
.. doxygenclass:: paddle::PyDataProvider2 | ||
:members: | ||
|
||
Proto Data Provider | ||
=================== | ||
|
||
ProtoDataProvider | ||
---------------- | ||
.. doxygenclass:: paddle::ProtoDataProvider | ||
:members: | ||
|
||
ProtoSequenceDataProvider | ||
---------------- | ||
.. doxygenclass:: paddle::ProtoSequenceDataProvider | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
Base Evaluator | ||
============== | ||
|
||
Evaluator | ||
--------- | ||
.. doxygenclass:: paddle::Evaluator | ||
:members: | ||
|
||
|
||
Utils | ||
===== | ||
|
||
SumEvaluator | ||
------------ | ||
.. doxygenclass:: paddle::SumEvaluator | ||
:members: | ||
|
||
ColumnSumEvaluator | ||
------------------ | ||
.. doxygenclass:: paddle::ColumnSumEvaluator | ||
:members: | ||
|
||
Classification | ||
============== | ||
|
||
ClassificationErrorEvaluator | ||
--------------------------- | ||
.. doxygenclass:: paddle::ClassificationErrorEvaluator | ||
:members: | ||
|
||
SequenceClassificationErrorEvaluator | ||
------------------------------------ | ||
.. doxygenclass:: paddle::SequenceClassificationErrorEvaluator | ||
:members: | ||
|
||
AucEvaluator | ||
------------- | ||
.. doxygenclass:: paddle::AucEvaluator | ||
:members: | ||
|
||
PrecisionRecallEvaluator | ||
------------------------ | ||
.. doxygenclass:: paddle::PrecisionRecallEvaluator | ||
:members: | ||
|
||
ChunkEvaluator | ||
-------------- | ||
.. doxygenclass:: paddle::ChunkEvaluator | ||
:members: | ||
|
||
CTCEvaluator | ||
------------ | ||
.. doxygenclass:: paddle::CTCErrorEvaluator | ||
:members: | ||
|
||
|
||
Rank | ||
==== | ||
|
||
PnpairEvaluator | ||
------------- | ||
.. doxygenclass:: paddle::PnpairEvaluator | ||
:members: | ||
|
||
AucEvaluator | ||
------------- | ||
.. doxygenclass:: paddle::RankAucEvaluator | ||
:members: | ||
|
||
|
||
Printer | ||
======= | ||
|
||
ValuePrinter | ||
------------- | ||
.. doxygenclass:: paddle::ValuePrinter | ||
:members: | ||
|
||
GradientPrinter | ||
--------------- | ||
.. doxygenclass:: paddle::GradientPrinter | ||
:members: | ||
|
||
MaxIdPrinter | ||
------------ | ||
.. doxygenclass:: paddle::MaxIdPrinter | ||
:members: | ||
|
||
MaxFramePrinter | ||
--------------- | ||
.. doxygenclass:: paddle::MaxFramePrinter | ||
:members: | ||
|
||
SequenceTextPrinter | ||
------------------ | ||
.. doxygenclass:: paddle::SequenceTextPrinter | ||
:members: | ||
|
||
ClassificationErrorPrinter | ||
-------------------------- | ||
.. doxygenclass:: paddle::ClassificationErrorPrinter | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
Evaluators | ||
============ | ||
|
||
.. doxygenfile:: paddle/gserver/evaluators/Evaluator.h | ||
.. doxygenfile:: paddle/gserver/evaluators/ChunkEvaluator.cpp | ||
.. doxygenfile:: paddle/gserver/evaluators/CTCErrorEvaluator.cpp | ||
========== | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
evaluators.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,40 @@ | ||
Gradient machines | ||
=================== | ||
Gradient Machines | ||
================ | ||
|
||
Networks | ||
------------ | ||
.. doxygenfile:: paddle/gserver/gradientmachines/MultiNetwork.h | ||
.. doxygenfile:: paddle/gserver/gradientmachines/ParallelNeuralNetwork.h | ||
GradientMachine | ||
--------------------- | ||
.. doxygenclass:: paddle::GradientMachine | ||
:members: | ||
|
||
Gradient Machines | ||
GradientMachineModel | ||
-------------------- | ||
.. doxygenfile:: paddle/gserver/gradientmachines/GradientMachine.h | ||
.. doxygenfile:: paddle/gserver/gradientmachines/MultiGradientMachine.h | ||
.. doxygenclass:: paddle::IGradientMachineMode | ||
:members: | ||
|
||
MultiGradientMachine | ||
--------------------- | ||
.. doxygenclass:: paddle::MultiGradientMachine | ||
:members: | ||
|
||
TrainerThread | ||
````````````` | ||
.. doxygenclass:: paddle::TrainerThread | ||
:members: | ||
|
||
Recurrent Gradient Machines | ||
----------------------------- | ||
.. doxygenfile:: paddle/gserver/gradientmachines/RecurrentGradientMachine.h | ||
.. doxygenfile:: paddle/gserver/gradientmachines/RecurrentGradientMachine.cpp | ||
--------------------------- | ||
.. doxygenclass:: paddle::RecurrentGradientMachine | ||
:members: | ||
|
||
Networks | ||
======== | ||
|
||
NeuralNetwork | ||
------------- | ||
.. doxygenclass:: paddle::NeuralNetwork | ||
:members: | ||
|
||
ParallelNeuralNetwork | ||
--------------------- | ||
.. doxygenclass:: paddle::ParallelNeuralNetwork | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.