From ad016f5bc55c6093c1c67e64ad931192291b5c62 Mon Sep 17 00:00:00 2001 From: jvech Date: Fri, 25 Aug 2023 10:39:48 -0500 Subject: add: layer architecture loading from cfg done --- src/util.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 980895f..d5cb403 100644 --- a/src/util.h +++ b/src/util.h @@ -4,15 +4,21 @@ #include struct Configs { + /* net cfgs */ size_t epochs; double alpha; + char *loss; char **input_keys, **label_keys; size_t n_input_keys, n_label_keys; - char *loss; - char *in_filepath; - char *out_filepath; char *weights_filepath; char *config_filepath; + /* cli cfgs */ + char *in_filepath; + char *out_filepath; + /* layer cfgs */ + size_t network_size; + size_t *neurons; + char **activations; }; void die(const char *fmt, ...); -- cgit v1.2.3-70-g09d2