Files

378 B

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

Category: PyTorch wrapper - Optimizer

ComfyUI Pt Wrapper Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.