Neural Network

March 25, 2026 ยท View on GitHub

Components for building, training, and evaluating feed-forward neural networks entirely on-device with static memory allocation.

Components

ComponentDescription
Neural Network OverviewArchitecture, training loop, and how the components fit together
LayersDense (fully connected) layer with forward and backward pass
Activation FunctionsNon-linear element-wise transforms: ReLU, LeakyReLU, Sigmoid, Tanh, Softmax
Loss FunctionsObjective functions: MSE, MAE, Binary Cross-Entropy, Categorical Cross-Entropy
ModelVariadic-template model composing layers, optimizer, and loss into a trainable pipeline

See also: Optimization for optimizers (Gradient Descent) and Regularization for weight penalties (L1, L2) โ€” these are general-purpose domains used by neural networks and other algorithms.