pytorch/torch/optim
GdoongMathew 3437177e2b Quick Fix on #126854, deepcopy lr and other possible base_parameters (#127190)
* Apply `deepcopy` to every base parameters (`initial_lr`, `max_lr`) when instantiating `LRScheduler`.

Fixes #126854

Pull Request resolved: https://github.com/pytorch/pytorch/pull/127190
Approved by: https://github.com/janeyx99
2024-06-03 18:06:31 +00:00
..
_multi_tensor
__init__.py [optim] Merge the pyi files into py files of optimizer (#125452) 2024-05-14 18:24:50 +00:00
_functional.py
adadelta.py Revert "[BE] wrap deprecated function/class with typing_extensions.deprecated (#126898)" 2024-05-31 19:47:24 +00:00
adagrad.py [traced-graph][sparse] propagate sparsity metadata into traced graph (#117907) 2024-05-23 22:46:46 +00:00
adam.py Revert "[BE] wrap deprecated function/class with typing_extensions.deprecated (#126898)" 2024-05-31 19:47:24 +00:00
adamax.py Revert "[BE] wrap deprecated function/class with typing_extensions.deprecated (#126898)" 2024-05-31 19:47:24 +00:00
adamw.py Revert "[BE] wrap deprecated function/class with typing_extensions.deprecated (#126898)" 2024-05-31 19:47:24 +00:00
asgd.py Revert "[BE] wrap deprecated function/class with typing_extensions.deprecated (#126898)" 2024-05-31 19:47:24 +00:00
lbfgs.py [optim] Merge the pyi files into py files of optimizer (#125452) 2024-05-14 18:24:50 +00:00
lr_scheduler.py Quick Fix on #126854, deepcopy lr and other possible base_parameters (#127190) 2024-06-03 18:06:31 +00:00
nadam.py Revert "[BE] wrap deprecated function/class with typing_extensions.deprecated (#126898)" 2024-05-31 19:47:24 +00:00
optimizer.py Revert "[BE] wrap deprecated function/class with typing_extensions.deprecated (#126898)" 2024-05-31 19:47:24 +00:00
radam.py Revert "[BE] wrap deprecated function/class with typing_extensions.deprecated (#126898)" 2024-05-31 19:47:24 +00:00
rmsprop.py Revert "[BE] wrap deprecated function/class with typing_extensions.deprecated (#126898)" 2024-05-31 19:47:24 +00:00
rprop.py Revert "[BE] wrap deprecated function/class with typing_extensions.deprecated (#126898)" 2024-05-31 19:47:24 +00:00
sgd.py Revert "[BE] wrap deprecated function/class with typing_extensions.deprecated (#126898)" 2024-05-31 19:47:24 +00:00
sparse_adam.py [optim] Merge the pyi files into py files of optimizer (#125452) 2024-05-14 18:24:50 +00:00
swa_utils.py Quick Fix on #126854, deepcopy lr and other possible base_parameters (#127190) 2024-06-03 18:06:31 +00:00