diff options
| author | Onur Gündüz <ogunduz@gmail.com> | 2026-06-27 00:58:05 +0200 |
|---|---|---|
| committer | Onur Gündüz <ogunduz@gmail.com> | 2026-06-27 01:03:41 +0200 |
| commit | af55803d0dff9eb692c760c8d486e736c945061d (patch) | |
| tree | 0875a1112bf98304e445e0544c4309670d6f4769 /libffwd/act.c | |
| parent | 0f861b7f3098750ddee4f6570f3be228d1da5320 (diff) | |
| download | ffwd-af55803d0dff9eb692c760c8d486e736c945061d.tar.gz ffwd-af55803d0dff9eb692c760c8d486e736c945061d.zip | |
chore: clean up comment formatting and wording
Diffstat (limited to 'libffwd/act.c')
| -rw-r--r-- | libffwd/act.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/libffwd/act.c b/libffwd/act.c index 688dd71..2495311 100644 --- a/libffwd/act.c +++ b/libffwd/act.c @@ -1,6 +1,4 @@ -/* - * act.c - activations - */ +/* Activation kernels: softmax, SiLU-gated multiply, and the erf and tanh GeLU variants. */ #include <math.h> #include <stdlib.h> @@ -29,13 +27,6 @@ # define M_PI 3.14159265358979323846 #endif -/* Activation kernels: softmax, SiLU-gated multiply, and the erf and tanh GeLU - * variants. */ - -/* ======================================================================== - * Activation Functions - * ======================================================================== */ - void silu_mul_inplace(float *gate, const float *up, int n) { #if defined(__APPLE__) && defined(USE_BLAS) enum { CHUNK = 4096 }; |
