My Project
Classes | Macros | Typedefs
pinn_network.hpp File Reference

Minimal feedforward network utilities used for Enzyme experiments. More...

#include <algorithm>
#include <array>
#include <cmath>
#include <iostream>
#include <random>
#include <tuple>
#include <vector>
Include dependency graph for pinn_network.hpp:

Go to the source code of this file.

Classes

struct  Tanh
 Tanh activation. More...
 
struct  Linear
 Linear activation. More...
 
struct  Dense< In, Out, Activation >
 Compile-time dense layer definition. More...
 
class  PINN< Layers >
 Compile-time feedforward network with static forward. More...
 

Macros

#define ENZYME_INLINE   __attribute__((always_inline)) inline
 Force inline expansion in performance-critical paths. More...
 

Typedefs

using Real = double
 Scalar type for PINN utilities. More...
 

Detailed Description

Minimal feedforward network utilities used for Enzyme experiments.

Macro Definition Documentation

◆ ENZYME_INLINE

#define ENZYME_INLINE   __attribute__((always_inline)) inline

Force inline expansion in performance-critical paths.

Typedef Documentation

◆ Real

using Real = double

Scalar type for PINN utilities.