OCANNL, the `neural_nets_lib`
summary
OCANNL is an OCaml neural network library that builds and trains a three-layer MLP on a half‑moon toy dataset, using hinge loss plus weight decay and reverse‑mode backprop. It attaches computations to tensor nodes, emits optimized C‑like routines, and compiles to C (CUDA WIP); the CPU backend is plausibly competitive while the GPU path is prototype and roughly three orders of magnitude slower today. Multi‑device parallel training is demonstrated and it works end to end.
AI-written summary · about
