diff options
author | jvech <jmvalenciae@unal.edu.co> | 2023-08-25 10:39:48 -0500 |
---|---|---|
committer | jvech <jmvalenciae@unal.edu.co> | 2023-08-25 10:39:48 -0500 |
commit | ad016f5bc55c6093c1c67e64ad931192291b5c62 (patch) | |
tree | 60e3da49034eb23e4bcb8120b06184b1b31c9126 /src/util.h | |
parent | ca92314f00cb41c3d9d2976cfc819b359d53cda1 (diff) |
add: layer architecture loading from cfg done
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -4,15 +4,21 @@ #include <stddef.h> 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, ...); |