Nodes/ComfyUI Neural Network Toolkit NNT /NNT Define Linear Attention
ComfyUI Node

NNT Define Linear Attention

A ComfyUI node in NNT Neural Network Toolkit/Transformers with 8 inputs and 1 output.

By inventorado·Created 2 years ago·Updated 2 years ago· 69
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)

NameTypeDefaultDescription
embed_dimINT51264–2048
num_headsINT81–32
feature_mapCOMBOelu3 options: elu, relu, softmax
epsFLOAT0.00001e-12–0.001
causalCOMBOFalse2 options: True, False
dropoutFLOAT0.10–0.9
batch_firstCOMBOTrue2 options: True, False
LAYER_STACKoptLIST

Outputs (1)

NameTypeDescription
LISTLIST