code wiki / _hdl_build / nx_poseest_gate.nx

nx_poseest_gate.nx

buildroot/runtime/_hdl_build/nx_poseest_gate.nx

5315 B123 linesdepth 4pulls 6 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_poseest_gate.nx -- prove LEARNED pose localization (roadmap R2 v0): render the rig across arm poses, classify the RIGHT-HAND region from the silhouette with a perceptron, prove it GENERALIZES to HELD-OUT arm configs vs untrained at chance. image -> learned -> keypoint, the video->pose keystone middle at honest small scale. (fresh name -- the nx_pose_estimate_gate target hit a name-keyed stale-.s cache.) expect_exit:0 ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_figure_render.nx nx_pose_estimate.nx nx_poseest_gate.nx

imports: nx_syscalls.nxnx_figure_render.nxnx_pose_estimate.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main hw sys_write sys_mmap sk_bytes rig_build sk_init sk_hdr sk_add_bone sk_hdr ↻ sk_bone pe_sample sk_pose sk_bone ↻ md_deg sk_update sk_hdr ↻ sk_vs sk_lr sk_bone ↻ sk_localrot it_cos4096 it_sin4096 it_sin4096 ↻ sk_matmul sk_matvec rig_draw it_cos4096 ↻ it_sin4096 ↻ sys_mmap ↻ sk_bone ↻ fr_clamp rig_r0 rig_r1 fr_capsule fr_abs sys_mmap ↻ fr_disc fr_clamp ↻ fr_disc ↻

structs

none

consts

12const PW: i64 = 64
13const PH: i64 = 48
14const GW: i64 = 8
15const GH: i64 = 6
16const NCELL: i64 = 48
17const NFEAT: i64 = 49
18const NR: i64 = 9
19const NTR: i64 = 30
20const NHO: i64 = 9
21const NALL: i64 = 39

functions

9func hw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 1: main calls 1: sys_write
10func pn(v: i64) -> i64 { let b: *u8=sys_mmap(32) as *u8; var x: i64=v; var ng: i64=0; if x<0{ng=1;x=0-x} var i: i64=31; if x==0{b[i]=48 as u8;i=i-1} while x>0{b[i]=(48+x%10) as u8;x=x/10;i=i-1} if ng==1{b[i]=45 as u8;i=i-1} sys_write(1,(b as i64+i+1) as *u8,31-i); return 0 }
called by 1: main calls 2: sys_mmapsys_write
23func clamp3(v: i64) -> i64 { if v < 0 { return 0 } if v > 2 { return 2 } return v }
called by 1: main
24func pe_sample(sk: i64, fb: *i64, zb: *i64, pitch: i64, elbow: i64, occ: *i64, wxy: *i64) -> i64
34func main() -> i64