nx_f32_conv_train_gate.nx
buildroot/runtime/nx_f32_conv_train_gate.nx
about
nx_f32_conv_train_gate.nx -- proves the SOVEREIGN conv TRAINING LOOP converges end-to-end: forward
(nx_f32_conv2d_forward) -> MSE loss/grad (nx_f32_train_ops) -> backward (nx_f32_conv2d_backward) -> SGD step,
iterated. A 2x2 conv (C_in=1 H=2 W=2, C_out=1, 1x1 out) is trained from ZERO weights to fit a target produced by
a known "true" weight; the loss must never increase and must converge to ~0 -- the first mechanical evidence that
"build 2" (training our own pose net) works, reducing the arc to SCALE + real labeled data. Also unit-checks the
ReLU backward and the MSE gradient (needed for the multi-layer pose net). This is a CONVERGENCE proof, NOT a
trained pose net. expect_exit: 0
dependencies 6 imports · 0 importers
imports: nx_syscalls.nxnx_f32_cvt.nxnx_f32.nxnx_f32_conv2d.nxnx_f32_conv2d_backward.nxnx_f32_train_ops.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
| 15 | func gp(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return sys_write(1, s, n) } |
| 16 | func gn(v: i64) -> i64 |
| 26 | func main(argc: i64, argv: *i64) -> i64 |