nx_f32_transformer_test.nx
buildroot/runtime/nx_f32_transformer_test.nx
about
nx_f32_transformer_test.nx -- integration smoke.
Zero-weight identity check: with all weights = 0 and gamma = 0,
every matmul produces 0, every RMSNorm produces 0, both
residual additions reduce to "x + 0 = x", so output should
equal input unchanged.
This is the structural-acceptance gate: proves the full chain
of RMSNorm + matmul + softmax + SiLU + residual composes
without crashing and preserves the identity at zero weights.
dependencies 4 imports · 0 importers
imports: nx_syscalls.nxnx_tier.nxnx_f32.nxnx_f32_transformer.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 17 | func main() -> i64 |