Files

31 lines
623 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Pto Lr Scheduler Step
Creates a StepLR learning rate scheduler for an optimizer.
Parameters
**optimizer**
(torch.optim.Optimizer) – Wrapped optimizer whose learning rate needs scheduling.
**step_size**
(int) – Period of learning rate decay.
**gamma**
(float) – Multiplicative factor of learning rate decay.
## Input
| Name | Data type |
|---|---|
| optimizer | Ptoptimizer |
| step_size | Int |
| gamma | Float |
## Output
| Data type |
|---|
| Ptlrscheduler |
<HR>
Category: PyTorch wrapper - Training
ComfyUI Pt Wrapper Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.