Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/train/openaccel-lab/workloads/silu/omega.om # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / train / openaccel-lab / workloads / silu / omega.om` 26 lines ยท 425 bytes Raw Blame History 1 note silu: y = x / (1 + exp(-x)) in f32; exp via oal_expf in binary64, rounded once to f32 2 global kn ulong 1 3 fn kern to void 4 for i ulong get kn 0 5 v = get fa i 6 e = f32 oal_expf f64 neg v 7 put fo i div v add 1.0f32 e 8 end 9 end 10 fn main to int 11 oal_begin 12 put kn 0 ulong oal_p 0 13 a = oal_fa 0 14 w = oal_warm 15 for i ulong add w oal_reps 16 t0 = monons 17 kern 18 t1 = monons 19 if ge i w 20 oal_tick sub t1 t0 21 end 22 end 23 oal_so 0 get kn 0 24 oal_end 25 ret 0 26 end