public class GatedDeltaAttention implements AutoClosable
Single-token gated delta recurrence with causal depthwise convolution on CPU/GPU. Queries/keys use L2 normalization; recurrent state and accumulations use FP32. Storage is constant with respect to sequence length. This inference state has no training API and never claims to implement an unavailable backward pass. Use a separate instance for each layer/sequence; concurrent use is unsupported.
state = GatedDeltaAttention(16l, 32l, 128l, 128l, 4l)
| Modifier and Type | Member | Description |
|---|---|---|
| public | GatedDeltaAttention | Creates an initially zero recurrent state. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | closeclose() as Void |
Releases recurrent device storage; repeated closes are harmless. |
| public | step | Updates convolution and recurrence, then applies RMS normalization/SiLU gate. |