Skainet Nn Dsl

Use when defining a neural network architecture with the SKaiNET public DSL — `sequential<T, V> { ... }` for linear stacks, `dag { ... }` for graphs with branching / skip connections. Applies in both consumer apps and inside the SKaiNET repo. Trigger tokens include `sequential<`, `dag {`, `dagModule`, layer names (`input`, `dense`, `flatten`, `activation`, `softmax`, `batchNorm`, `groupNorm`, `layerNorm`, `conv1d`, `conv2d`, `conv3d`, `maxPool2d`, `avgPool2d`, `upsample2d`), DAG nodes (`parameter`, `constant`, `matmul`, `relu`, `output`). Do NOT fire on tensor *creation* (that's `skainet-data-dsl`), on assertions (use the contributor `skainet-testing` skill in-repo), or on running a model end-to-end (that's `skainet-inference`).

SKaiNET-developers 94f342a 5 files · 23.9 KB Updated

File contents

SKaiNET-developers/SKaiNET-coding-skills/tree/main/skainet-consumer-skills/skills/skainet-nn-dsl commit 94f342aa1b

Frequently asked questions

npx skillmds@latest add skainet-developers/skainet-nn-dsl