Compile-time feedforward network with static forward.
More...
#include <pinn_network.hpp>
|
| static constexpr int | TotalParams = (0 + ... + Layers::NumParams) |
| |
| static constexpr int | MaxLayerSize = std::max({Layers::InSize..., Layers::OutSize...}) |
| |
template<typename... Layers>
class PINN< Layers >
Compile-time feedforward network with static forward.
◆ Architecture
template<typename... Layers>
◆ PINN()
template<typename... Layers>
◆ forward_static()
template<typename... Layers>
Stateless forward evaluation for a single input.
◆ init_params()
template<typename... Layers>
| void PINN< Layers >::init_params |
( |
| ) |
|
|
inline |
Initialize parameters with layer-wise uniform bounds.
◆ process_layers()
template<typename... Layers>
template<size_t I>
Apply all layers in sequence using alternating buffers.
◆ MaxLayerSize
template<typename... Layers>
| constexpr int PINN< Layers >::MaxLayerSize = std::max({Layers::InSize..., Layers::OutSize...}) |
|
staticconstexpr |
◆ params
template<typename... Layers>
| std::vector<Real> PINN< Layers >::params |
◆ TotalParams
template<typename... Layers>
| constexpr int PINN< Layers >::TotalParams = (0 + ... + Layers::NumParams) |
|
staticconstexpr |
The documentation for this class was generated from the following file: