aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorjvech <jmvalenciae@unal.edu.co>2023-08-25 10:39:48 -0500
committerjvech <jmvalenciae@unal.edu.co>2023-08-25 10:39:48 -0500
commitad016f5bc55c6093c1c67e64ad931192291b5c62 (patch)
tree60e3da49034eb23e4bcb8120b06184b1b31c9126 /src/util.h
parentca92314f00cb41c3d9d2976cfc819b359d53cda1 (diff)
add: layer architecture loading from cfg done
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h12
1 files changed, 9 insertions, 3 deletions
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 <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, ...);
Feel free to download, copy and edit any repo