Fixed doc generator to generate doc for a few nodes which did not have doc

This commit is contained in:
HowToSD
2025-03-14 19:44:02 -07:00
parent 95e9f58c4f
commit e9b06d5d8b
2 changed files with 44 additions and 0 deletions
+24
View File
@@ -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.
+20
View File
@@ -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.