ANN  0.1.1.5
A library containing multiple neural network models written in C
file.h File Reference

PCFNN_FILE. More...

#include "../../config.h"
#include <stdlib.h>
#include <stdio.h>
#include "neuron.h"
#include "layer.h"
#include "network.h"
+ Include dependency graph for file.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int PCFNN_NETWORK_save_conf (struct PCFNN_NETWORK *net, FILE *fout)
 Save bias and weights of each neurons of net in fout. More...
 
int PCFNN_NETWORK_load_conf (struct PCFNN_NETWORK *net, FILE *fin)
 Load bias and weights of each neurons of net from fin. More...
 

Detailed Description

PCFNN_FILE.

Author
Cedric FARINAZZO
Version
0.1
Date
5 may 2019

IO functions for PCFNN neural network

Definition in file file.h.

Function Documentation

◆ PCFNN_NETWORK_load_conf()

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()

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.