diff options
| author | y-jan137 <yousefjan24000@gmail.com> | 2026-03-18 11:44:05 +0300 |
|---|---|---|
| committer | y-jan137 <yousefjan24000@gmail.com> | 2026-03-18 11:44:05 +0300 |
| commit | 161352cf4504c2113ad148ce5b5917a5bed36c06 (patch) | |
| tree | f5c30d3893e5d68f8830a01d947577d0759062eb /src/main.c | |
| parent | 00cd5b38f26e40fbb0dd21e9682e9a9580fe3e78 (diff) | |
Add continuous normalizing flow
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -6,6 +6,8 @@ #include "train.h" #include "spiral.h" #include "tests.h" +#include "test_cnf.h" +#include "cnf_train.h" #include <stdio.h> #include <stdlib.h> @@ -21,6 +23,14 @@ int main(void) { test_multi_obs_adjoint(&r); test_training(&r); + printf("\n--- CNF tests ---\n"); + test_cnf_trace(&r); + test_cnf_invertibility(&r); + test_cnf_gradients(&r); + test_cnf_training(&r); + + cnf_train_demo(&r); + printf("\n--- Training demo (spiral) ---\n\n"); r = rng_init((uint64_t)time(NULL)); |