← all blocks
model-head · v1.0.0

Transformer Encoder (TF.js)

Encoder-only transformer for PBP / drive-level sequences. Stacks multi-head self-attention + FFN with residual connections and layer normalization, mean-pools the sequence.

Contract

Input:
Frame
Output:
ModelArtifact
Determinism:
seeded
Side effects:
trains-artifact
Leakage window:
0s

Params (live form)

JSON
{}
Try in builder