|
FlexNN 1
Fully connected neural network built from scratch with flexible n-layer design and multiple activations.
|
Linear (no) activation — identity forward/backward. More...
#include <Eigen/Dense>

Go to the source code of this file.
Namespaces | |
| namespace | FlexNN |
| Namespace for the FlexNN neural network library. | |
| namespace | FlexNN::Activations |
| namespace | FlexNN::Activations::detail |
Functions | |
| Eigen::MatrixXd | FlexNN::Activations::detail::none_forward (const Eigen::MatrixXd &Z) |
| Identity forward: A = Z. | |
| Eigen::MatrixXd | FlexNN::Activations::detail::none_backward (const Eigen::MatrixXd &dA, const Eigen::MatrixXd &, const Eigen::MatrixXd &) noexcept |
| Identity backward: dZ = dA. | |
Linear (no) activation — identity forward/backward.
Separated into its own header so tests/activation_test.cpp can include and test this activation in isolation without pulling all activations.