code wiki / (root) / nx_zimage_ffn_norm_verify.nx

nx_zimage_ffn_norm_verify.nx

buildroot/runtime/nx_zimage_ffn_norm_verify.nx

3348 B82 linesdepth 5pulls 10 transitivereach 0 importersview sourcekind orphan librarytopic zimage
docsdependenciesstructsconstsfunctions

about

nx_zimage_ffn_norm_verify.nx -- SOVEREIGN Z-Image FFN sub-piece a: pre-FFN norm, verified vs oracle. h = rmsnorm(x_after_attn, fn1) * (1 + sl) [per-token over 3840]. Verifies vs dumped h_ff. license_tier: ORIGINAL

dependencies 6 imports · 0 importers

nx_syscalls.nx nx_le.nx nx_f32.nx nx_f32_div.nx nx_f32_cvt.nx nx_strconv.nx nx_zimage_ffn_norm_verify.nx

imports: nx_syscalls.nxnx_le.nxnx_f32.nxnx_f32_div.nxnx_f32_cvt.nxnx_strconv.nx

imported by: nobody (leaf or entry point)

structs

none

consts

10const K_MAGIC_3840: i64 = 3840
11const K_MAGIC_100000: i64 = 100000

functions

13func zfn_load(name: *u8, nl: i64, n_floats: i64) -> *u8
37func main() -> i64