From ca92314f00cb41c3d9d2976cfc819b359d53cda1 Mon Sep 17 00:00:00 2001 From: jvech Date: Wed, 23 Aug 2023 12:25:46 -0500 Subject: add: basic configuration parsing implemented parameters implemented: - input_keys - label_keys - epochs - labels - weights_path Network weights and architecture loading is not implemented yet. --- src/util.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index e1bcf18..980895f 100644 --- a/src/util.h +++ b/src/util.h @@ -8,6 +8,7 @@ struct Configs { double alpha; char **input_keys, **label_keys; size_t n_input_keys, n_label_keys; + char *loss; char *in_filepath; char *out_filepath; char *weights_filepath; @@ -17,6 +18,6 @@ struct Configs { void die(const char *fmt, ...); void *ecalloc(size_t nmemb, size_t size); void util_load_cli(struct Configs *ml, int argc, char *argv[]); -void util_load_config(struct Configs *ml); +void util_load_config(struct Configs *ml, char *filepath); void util_free_config(struct Configs *ml); #endif -- cgit v1.2.3-70-g09d2