diff options
| author | Your Name <[email protected]> | 2026-08-28 13:42:10 -0700 |
|---|---|---|
| committer | Your Name <[email protected]> | 2026-08-28 13:42:10 -0700 |
| commit | 8671410a0f9bdd4b405762ad4790c15d601b0fba (patch) | |
| tree | 988a4169f731e680fa01d813b5be7294f1965339 /src/benchmark.h | |
| parent | 50dbc1066944263e43c0bf4bc62f8a848e1e6eba (diff) | |
online crossbar inputs
Diffstat (limited to 'src/benchmark.h')
| -rw-r--r-- | src/benchmark.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/benchmark.h b/src/benchmark.h index 57156cc..c7ffab6 100644 --- a/src/benchmark.h +++ b/src/benchmark.h @@ -16,6 +16,12 @@ int run_benchmark(const spires_reservoir_config *config, Reservoir_State_Matrix *state_matrix, const char *model_path, const char *subcircuit_name, double *predictions_out); +int run_online_benchmark(const spires_reservoir_config *config, + spires_reservoir *reservoir, + const double *input_series, size_t num_timesteps, + const char *model_path, const char *subcircuit_name, + double *predictions_out); + double calculate_MSE(const double *expected, const double *predicted, const size_t num_steps, const size_t num_outputs); |
