362 B
362 B
Instantiates the most basic optimizer to update W using the below formula
W -= lr * G
Input
| Name | Data type |
|---|---|
| model | Ptmodel |
| learning_rate | Float |
Output
| Data type |
|---|
| Ptoptimizer |
Category: PyTorch wrapper - Training
ComfyUI Pt Wrapper Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.