Download testbed/open-mmlab__mmengine/mmengine/optim/__init__.py from hc99/FEA-Bench: direct link, hf CLI and curl.
- Browser
- Download file 1.66 kB
-
https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/open-mmlab__mmengine/mmengine/optim/__init__.py
- Command line
-
hf download hf://datasets/hc99/FEA-Bench/testbed/open-mmlab__mmengine/mmengine/optim/__init__.py
-
curl -L -o __init__.py https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/open-mmlab__mmengine/mmengine/optim/__init__.py
1.66 kB
| # Copyright (c) OpenMMLab. All rights reserved. | |
| from .optimizer import (OPTIM_WRAPPER_CONSTRUCTORS, OPTIMIZERS, | |
| AmpOptimWrapper, DefaultOptimWrapperConstructor, | |
| OptimWrapper, OptimWrapperDict, build_optim_wrapper) | |
| # yapf: disable | |
| from .scheduler import (ConstantLR, ConstantMomentum, ConstantParamScheduler, | |
| CosineAnnealingLR, CosineAnnealingMomentum, | |
| CosineAnnealingParamScheduler, ExponentialLR, | |
| ExponentialMomentum, ExponentialParamScheduler, | |
| LinearLR, LinearMomentum, LinearParamScheduler, | |
| MultiStepLR, MultiStepMomentum, | |
| MultiStepParamScheduler, OneCycleLR, | |
| OneCycleParamScheduler, PolyLR, PolyMomentum, | |
| PolyParamScheduler, StepLR, StepMomentum, | |
| StepParamScheduler, _ParamScheduler) | |
| # yapf: enable | |
| __all__ = [ | |
| 'OPTIM_WRAPPER_CONSTRUCTORS', 'OPTIMIZERS', 'build_optim_wrapper', | |
| 'DefaultOptimWrapperConstructor', 'ConstantLR', 'CosineAnnealingLR', | |
| 'ExponentialLR', 'LinearLR', 'MultiStepLR', 'StepLR', 'ConstantMomentum', | |
| 'CosineAnnealingMomentum', 'ExponentialMomentum', 'LinearMomentum', | |
| 'MultiStepMomentum', 'StepMomentum', 'ConstantParamScheduler', | |
| 'CosineAnnealingParamScheduler', 'ExponentialParamScheduler', | |
| 'LinearParamScheduler', 'MultiStepParamScheduler', 'StepParamScheduler', | |
| '_ParamScheduler', 'OptimWrapper', 'AmpOptimWrapper', 'OptimWrapperDict', | |
| 'OneCycleParamScheduler', 'OneCycleLR', 'PolyLR', 'PolyMomentum', | |
| 'PolyParamScheduler' | |
| ] | |