Files
HowToSD-ComfyUI-Pt-Wrapper/docs/reference/ptn_linear_model.md
T
2025-03-10 14:34:01 -07:00

36 lines
862 B
Markdown

# Ptn Linear Model
A linear model consisting of dense layers.
### Fields:
- `dim_list`: A string representing a Python list of layer dimensions.
It should contain the input dimension for the first layer and the output dimensions
for all layers.
Example for a two-layer network:
- Input data: 784
- Layer 1: 784 → 128
- Layer 2: 128 → 10
- Specify `"[784,128,10]"`
- `bias_list`: A string representing a Python list of bias usage (True/False) per layer.
Example: "[True,False]"
- `num_layers`: The number of layers in the model.
## Input
| Name | Data type |
|---|---|
| dim_list | String |
| bias_list | String |
| num_layers | Int |
## Output
| Data type |
|---|
| Ptmodel |
<HR>
Category: PyTorch wrapper - Training
ComfyUI Data Analysis Node Reference. © 2025 Hide Inada (HowToSD.com). All rights reserved.