diff options
Diffstat (limited to 'src/parse.h')
-rw-r--r-- | src/parse.h | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/src/parse.h b/src/parse.h index 18130c7..07f740b 100644 --- a/src/parse.h +++ b/src/parse.h @@ -4,29 +4,15 @@ #include <stdio.h> #include <stdbool.h> +#include "util.h" + typedef struct Array { double *data; size_t shape[2]; } Array; -void file_read( - char *filepath, - Array *input, Array *out, - char *in_keys[], size_t n_in_keys, - char *out_keys[], size_t n_out_keys, - bool read_output, - char *file_format - ); - -void file_write( - char *filepath, - Array input, Array out, - char *in_keys[], size_t n_in_keys, - char *out_keys[], size_t n_out_keys, - bool write_input, - char *file_format, - int decimal_precision); - +void file_read(char *filepath, Array *input, Array *out, struct Configs configs, bool read_output); +void file_write(Array input, Array out, struct Configs ml_configs); char * file_format_infer(char *filename); #endif |