Compile-time dense layer definition.
More...
#include <pinn_network.hpp>
|
| static constexpr int | InSize = In |
| |
| static constexpr int | OutSize = Out |
| |
| static constexpr int | NumParams = (In * Out) + Out |
| |
template<int In, int Out, typename Activation>
struct Dense< In, Out, Activation >
Compile-time dense layer definition.
◆ forward()
template<int In, int Out, typename Activation >
Forward pass for a single input vector.
◆ InSize
template<int In, int Out, typename Activation >
| constexpr int Dense< In, Out, Activation >::InSize = In |
|
staticconstexpr |
◆ NumParams
template<int In, int Out, typename Activation >
| constexpr int Dense< In, Out, Activation >::NumParams = (In * Out) + Out |
|
staticconstexpr |
◆ OutSize
template<int In, int Out, typename Activation >
| constexpr int Dense< In, Out, Activation >::OutSize = Out |
|
staticconstexpr |
The documentation for this struct was generated from the following file: