summaryrefslogtreecommitdiff
path: root/src/benchmark.h
diff options
context:
space:
mode:
authorYour Name <[email protected]>2026-08-28 13:42:10 -0700
committerYour Name <[email protected]>2026-08-28 13:42:10 -0700
commit8671410a0f9bdd4b405762ad4790c15d601b0fba (patch)
tree988a4169f731e680fa01d813b5be7294f1965339 /src/benchmark.h
parent50dbc1066944263e43c0bf4bc62f8a848e1e6eba (diff)
online crossbar inputs
Diffstat (limited to 'src/benchmark.h')
-rw-r--r--src/benchmark.h6
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);