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/ggml-omega/blob/main/kernels/silu.om # ggml-omega aien-dev/ggml-omega Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `ggml-omega / kernels / silu.om` 8 lines ยท 199 bytes Raw Blame History 1 note silu_@T@: d = x/(1 + expf(-x)) in f32, as ggml_silu_f32. 2 fn silu_@T@ a view f32 @T@ d edit f32 @T@ to void 3 for i ulong @T@ 4 x = get a i 5 e = f32 ex64 f64 neg x 6 put d i div x add f32 1.0 e 7 end 8 end