Expand description
Tiny host GEMV / gather helpers for the C1 CPU graph.
Functionsยง
- argmax
- Greedy next-token: argmax, lower id on ties.
- embed_
token - Token embedding gather:
embed[token, :]. - fill
- Deterministic fill in
(-scale/2, scale/2). - ident
- Row-major identity padded to
[out, inn]. - matvec
y = W xwithWrow-major[out, inn].- matvec_
column_ tp - Column-parallel
y = W x(Megatrono_proj).Wis[out, inn]. - ones
- Ones vector (RMSNorm / identity-ish scales).