23 lines
378 B
Markdown
23 lines
378 B
Markdown
# Pto Simple
|
|
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 |
|
|
|
|
<HR>
|
|
Category: PyTorch wrapper - Optimizer
|
|
|
|
ComfyUI Pt Wrapper Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.
|