nx_dequant_iter_test.nx
buildroot/runtime/nx_dequant_iter_test.nx
about
nx_dequant_iter_test.nx -- smoke for nx_dequant_iter.nx.
Builds a synthetic Q4_K super-block in memory with known scales,
mins, and nibble values. Tests:
A) Verdict gate
B) Iter init reads d/dmin/scales/mins correctly
C) nx_q4k_iter_value at known indices matches expected formula
D) nx_q4k_iter_subblock_dequant matches nx_gguf_dequant_q4_k
bit-exactly for all 256 values
E) Out-of-range index returns 0 (no crash)
dependencies 6 imports · 0 importers
imports: nx_syscalls.nxnx_tier.nxnx_le.nxnx_gguf.nxnx_gguf_load.nxnx_dequant_iter.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
| 19 | func main() -> i64 |