ComfyUI Node
NNT Define Linear Attention
A ComfyUI node in NNT Neural Network Toolkit/Transformers with 8 inputs and 1 output.
NNT Define Linear Attention
- LAYER_STACK
- LIST
◄embed_dim512►
◄num_heads8►
◄feature_mapelu►
◄eps0.0000►
◄causalFalse►
◄dropout0.1►
◄batch_firstTrue►
CategoryNNT Neural Network Toolkit/Transformers
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| embed_dim | INT | 51264–2048 | — |
| num_heads | INT | 81–32 | — |
| feature_map | COMBO | elu | 3 options: elu, relu, softmax |
| eps | FLOAT | 0.00001e-12–0.001 | — |
| causal | COMBO | False | 2 options: True, False |
| dropout | FLOAT | 0.10–0.9 | — |
| batch_first | COMBO | True | 2 options: True, False |
| LAYER_STACKopt | LIST | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| LIST | LIST | — |