1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| #ifndef PARSER_H
| #define PARSER_H
| #include "network.h"
|
| #ifdef __cplusplus
| extern "C" {
| #endif
| network parse_network_cfg(char *filename);
| network parse_network_cfg_custom(char *filename, int batch, int time_steps);
| void save_network(network net, char *filename);
| void save_weights(network net, char *filename);
| void save_weights_upto(network net, char *filename, int cutoff, int save_ema);
| void save_weights_double(network net, char *filename);
| void load_weights(network *net, char *filename);
| void load_weights_upto(network *net, char *filename, int cutoff);
|
| #ifdef __cplusplus
| }
| #endif
| #endif
|
|