nx_f32_softmax_test.nx
buildroot/runtime/nx_f32_softmax_test.nx
about
nx_f32_softmax_test.nx -- smoke for nx_f32_softmax.nx.
Stable softmax KATs. v1 polynomial exp has ~1000 ULP error;
downstream softmax probabilities tolerate ~5e-3 relative error
for these canonical cases.
dependencies 6 imports · 0 importers
imports: nx_syscalls.nxnx_tier.nxnx_f32.nxnx_f32_div.nxnx_f32_exp.nxnx_f32_softmax.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
| 14 | func _ulp_diff_pos(a: i64, b: i64) -> i64 called by 1: main |
| 19 | func main() -> i64 |