Go to the source code of this file.
◆ PCFNN_NETWORK_load_conf()
int PCFNN_NETWORK_load_conf |
( |
struct PCFNN_NETWORK * |
net, |
|
|
FILE * |
fin |
|
) |
| |
Load bias and weights of each neurons of net from fin.
- Parameters
-
[in] | net | (struct PCFNN_NETWORK*) a pointer an a PCFNN_NETWORK |
[in] | fin | (FILE*) stream on file with read permission |
- Returns
- 1 if done or -1 if an error occured
Definition at line 25 of file file.c.
◆ PCFNN_NETWORK_save_conf()
int PCFNN_NETWORK_save_conf |
( |
struct PCFNN_NETWORK * |
net, |
|
|
FILE * |
fout |
|
) |
| |
Save bias and weights of each neurons of net in fout.
- Parameters
-
[in] | net | (struct PCFNN_NETWORK*) a pointer an a PCFNN_NETWORK |
[in] | fout | (FILE*) stream on file with write permission |
- Returns
- 1 if done or -1 if an error occured
Definition at line 10 of file file.c.