提交 84ceffd0 编写于 作者: W weixing 提交者: Abhinav Arora

Fix api display errors in fluid (#10051)

上级 324ab7a3
...@@ -5,17 +5,24 @@ ...@@ -5,17 +5,24 @@
evaluator evaluator
========= =========
Accuracy ChunkEvaluator
-------- --------------
.. autoclass:: paddle.fluid.evaluator.Accuracy .. autoclass:: paddle.fluid.evaluator.ChunkEvaluator
:members: :members:
:noindex: :noindex:
ChunkEvaluator EditDistance
-------------- --------------
.. autoclass:: paddle.fluid.evaluator.ChunkEvaluator .. autoclass:: paddle.fluid.evaluator.EditDistance
:members: :members:
:noindex: :noindex:
DetectionMAP
--------------
.. autoclass:: paddle.fluid.evaluator.DetectionMAP
:members:
:noindex:
...@@ -67,8 +67,7 @@ XavierInitializer ...@@ -67,8 +67,7 @@ XavierInitializer
.. autoclass:: paddle.fluid.initializer.XavierInitializer .. autoclass:: paddle.fluid.initializer.XavierInitializer
:members: :members:
:noindex: :noindex:
MSRA
------
MSRAInitializer MSRAInitializer
----------------- -----------------
......
...@@ -47,10 +47,51 @@ DecayedAdagrad ...@@ -47,10 +47,51 @@ DecayedAdagrad
:members: :members:
:noindex: :noindex:
SGDOptimizer
------------
.. autoclass:: paddle.fluid.optimizer.SGDOptimizer
:members:
:noindex:
MomentumOptimizer
-----------------
.. autoclass:: paddle.fluid.optimizer.MomentumOptimizer
:members:
:noindex:
AdagradOptimizer
----------------
.. autoclass:: paddle.fluid.optimizer.AdagradOptimizer
:members:
:noindex:
AdamOptimizer
-------------
.. autoclass:: paddle.fluid.optimizer.AdamOptimizer
:members:
:noindex:
AdamaxOptimizer
---------------
.. autoclass:: paddle.fluid.optimizer.AdamaxOptimizer
:members:
:noindex:
DecayedAdagradOptimizer
-----------------------
.. autoclass:: paddle.fluid.optimizer.DecayedAdagradOptimizer
:members:
:noindex:
Adadelta Adadelta
-------------- --------------
.. autoclass:: paddle.fluid.optimizer.AdadeltaOptimizer .. autoclass:: paddle.fluid.optimizer.AdadeltaOptimizer
:members: :members:
:noindex: :noindex:
...@@ -25,3 +25,16 @@ L2Decay ...@@ -25,3 +25,16 @@ L2Decay
:members: :members:
:noindex: :noindex:
L1DecayRegularizer
---------------------
.. autoclass:: paddle.fluid.regularizer.L1DecayRegularizer
:members:
:noindex:
L2DecayRegularizer
---------------------
.. autoclass:: paddle.fluid.regularizer.L2DecayRegularizer
:members:
:noindex:
...@@ -22,7 +22,6 @@ from layer_helper import LayerHelper ...@@ -22,7 +22,6 @@ from layer_helper import LayerHelper
from initializer import Constant from initializer import Constant
__all__ = [ __all__ = [
'Accuracy',
'ChunkEvaluator', 'ChunkEvaluator',
'EditDistance', 'EditDistance',
'DetectionMAP', 'DetectionMAP',
...@@ -273,7 +272,7 @@ class DetectionMAP(Evaluator): ...@@ -273,7 +272,7 @@ class DetectionMAP(Evaluator):
input (Variable): The detection results, which is a LoDTensor with shape input (Variable): The detection results, which is a LoDTensor with shape
[M, 6]. The layout is [label, confidence, xmin, ymin, xmax, ymax]. [M, 6]. The layout is [label, confidence, xmin, ymin, xmax, ymax].
gt_label (Variable): The ground truth label index, which is a LoDTensor gt_label (Variable): The ground truth label index, which is a LoDTensor
with shape [N, 1]. with shape [N, 1].
gt_difficult (Variable): Whether this ground truth is a difficult gt_difficult (Variable): Whether this ground truth is a difficult
bounding box (bbox), which is a LoDTensor [N, 1]. bounding box (bbox), which is a LoDTensor [N, 1].
gt_box (Variable): The ground truth bounding box (bbox), which is a gt_box (Variable): The ground truth bounding box (bbox), which is a
......
...@@ -27,7 +27,8 @@ from contextlib import contextmanager ...@@ -27,7 +27,8 @@ from contextlib import contextmanager
__all__ = [ __all__ = [
'SGD', 'Momentum', 'Adagrad', 'Adam', 'Adamax', 'DecayedAdagrad', 'SGD', 'Momentum', 'Adagrad', 'Adam', 'Adamax', 'DecayedAdagrad',
'Adadelta', 'ModelAverage' 'SGDOptimizer', 'MomentumOptimizer', 'AdagradOptimizer', 'AdamOptimizer',
'AdamaxOptimizer', 'DecayedAdagradOptimizer', 'Adadelta', 'ModelAverage'
] ]
......
...@@ -16,9 +16,8 @@ import framework ...@@ -16,9 +16,8 @@ import framework
from . import core from . import core
__all__ = [ __all__ = [
'append_regularization_ops', 'append_regularization_ops', 'WeightDecayRegularizer', 'L1Decay', 'L2Decay',
'L1Decay', 'L1DecayRegularizer', 'L2DecayRegularizer'
'L2Decay',
] ]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册