FlexNN 1
Fully connected neural network built from scratch with flexible n-layer design and multiple activations.
Loading...
Searching...
No Matches
None.hpp File Reference

Linear (no) activation — identity forward/backward. More...

#include <Eigen/Dense>
Include dependency graph for None.hpp:
This graph shows which files directly or indirectly include this file:

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.
 

Detailed Description

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.