Fixed doc generator to generate doc for a few nodes which did not have doc
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# Ptn Chained Model
|
||||
Constructs a chained PyTorch model.
|
||||
|
||||
### Fields:
|
||||
- model_a: First model in the chain.
|
||||
- model_b: Second model in the chain.
|
||||
- closure: Optional differentiable function to be called at the end of forward.
|
||||
|
||||
## Input
|
||||
| Name | Data type |
|
||||
|---|---|
|
||||
| model_a | Ptmodel |
|
||||
| model_b | Ptmodel |
|
||||
| closure | Ptcallable |
|
||||
|
||||
## Output
|
||||
| Data type |
|
||||
|---|
|
||||
| Ptmodel |
|
||||
|
||||
<HR>
|
||||
Category: PyTorch wrapper - Training
|
||||
|
||||
ComfyUI Pt Wrapper Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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 - Training
|
||||
|
||||
ComfyUI Pt Wrapper Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.
|
||||
Reference in New Issue
Block a user