aboutsummaryrefslogtreecommitdiff
path: root/src/parse.h
blob: 07f740b1c60fc07c456396357fe9c2ed3dd05ff5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef PARSE_H
#define PARSE_H

#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, struct Configs configs, bool read_output);
void file_write(Array input, Array out, struct Configs ml_configs);
char * file_format_infer(char *filename);
#endif
Feel free to download, copy and edit any repo