diff options
| author | y-jan137 <yousefjan24000@gmail.com> | 2026-03-18 14:04:47 +0300 |
|---|---|---|
| committer | y-jan137 <yousefjan24000@gmail.com> | 2026-03-18 14:04:47 +0300 |
| commit | 063b20be98747ba0b288545e653ef9489bf14a54 (patch) | |
| tree | b655758d2361dda0c6ffd35d6add6c5ea0f5aba4 /include/dynmlp.h | |
| parent | c9583c9897120cea7357ebc78b621aac0440da2c (diff) | |
Replace DynMLP with DynNet
Diffstat (limited to 'include/dynmlp.h')
| -rw-r--r-- | include/dynmlp.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/include/dynmlp.h b/include/dynmlp.h deleted file mode 100644 index 058271e..0000000 --- a/include/dynmlp.h +++ /dev/null @@ -1,24 +0,0 @@ -#pragma once - -#include "utils.h" - -typedef struct { - int D; - int H; - int nparams; -} DynMLP; - -#define DYNMLP_W1(D, H) (0) -#define DYNMLP_b1(D, H) ((D + 1) * (H)) -#define DYNMLP_W2(D, H) ((D + 1) * (H) + (H)) -#define DYNMLP_b2(D, H) ((D + 1) * (H) + (H) + (H) * (D)) - -int dynmlp_nparams(int D, int H); -void dynmlp_init(DynMLP *net, int D, int H, double *theta, RNG *r); -void dynmlp_forward(const DynMLP *net, const double *theta, - const double *z, double t, double *out, - Workspace *ws); -void dynmlp_vjp(const DynMLP *net, const double *theta, - const double *z, double t, const double *v, - double *vjp_z, double *vjp_theta, - Workspace *ws); |