Skip to content

Commit

Permalink
change format of __all__ in lr.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Asthestarsfalll committed Jun 7, 2022
1 parent f86f9e3 commit 07db9a0
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions python/paddle/optimizer/lr.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,22 @@
from ..fluid.framework import _in_legacy_dygraph

__all__ = [ # noqa
'LRScheduler', 'NoamDecay', 'PiecewiseDecay', 'NaturalExpDecay',
'InverseTimeDecay', 'PolynomialDecay', 'LinearWarmup', 'ExponentialDecay',
'MultiStepDecay', 'StepDecay', 'LambdaDecay', 'ReduceOnPlateau',
'CosineAnnealingDecay', 'MultiplicativeDecay', 'OneCycleLR', 'CyclicLR'
'LRScheduler',
'NoamDecay',
'PiecewiseDecay',
'NaturalExpDecay',
'InverseTimeDecay',
'PolynomialDecay',
'LinearWarmup',
'ExponentialDecay',
'MultiStepDecay',
'StepDecay',
'LambdaDecay',
'ReduceOnPlateau',
'CosineAnnealingDecay',
'MultiplicativeDecay',
'OneCycleLR',
'CyclicLR',
]


Expand Down

0 comments on commit 07db9a0

Please sign in to comment.