|
FlexNN 1
Fully connected neural network built from scratch with flexible n-layer design and multiple activations.
|
Implements FlexNN::Layers::Conv1D forward/backward/propagate. More...

Namespaces | |
| namespace | FlexNN |
| Namespace for the FlexNN neural network library. | |
| namespace | FlexNN::Layers |
Implements FlexNN::Layers::Conv1D forward/backward/propagate.
Forward uses im2col + single GEMM (Zflat = W * Col) so Eigen can vectorize/thread the hot math; padding is zero-fill at im2col time so the inner loop has no branch. Propagate (col2im) and grad share the same helper. Results match the naive loops to ~1e-12. The logic matches LLD_FLEXNN ยง6.2 and is verified by tests/conv1d_test.cpp via brute force and finite differences.