11 #ifndef _ANN_MODELS_PCFNN_NETWORK_H_ 12 #define _ANN_MODELS_PCFNN_NETWORK_H_ 14 #include "../../config.h"
struct PCFNN_LAYER * inputl
struct PCFNN_NETWORK * PCFNN_NETWORK_build_from_array(size_t *spec, size_t len, double(*f_init)(double), double(*f_act)(double), double(*f_act_de)(double))
Initialize a new PCFNN_NETWORK from an array of number that represent the number of neurons for each ...
struct PCFNN_LAYER ** layers
struct PCFNN_LAYER * outputl
size_t PCFNN_NETWORK_get_ram_usage(struct PCFNN_NETWORK *net)
Give the number of bytes used by the PCFNN_NETWORK net and all PCFNN_LAYER it contains.
void PCFNN_NETWORK_free(struct PCFNN_NETWORK *net)
Free all memory allocation of an PCFNN_NETWORK (It will call PCFNN_LAYER_free)
void PCFNN_NETWORK_print_summary(struct PCFNN_NETWORK *net)
Print neural network summary.
struct PCFNN_NETWORK PCFNN_NETWORK
void PCFNN_NETWORK_summary(struct PCFNN_NETWORK *net, size_t param[5])
Write on param network statistics.
void PCFNN_NETWORK_clear(struct PCFNN_NETWORK *net)
Clear all layers in the PCFNN_NETWORK net (It will call PCFNN_LAYER_clear)
struct PCFNN_NETWORK * PCFNN_NETWORK_new()
Initialize a PCFNN_NETWORK.
int PCFNN_NETWORK_build(struct PCFNN_NETWORK *net)
Initialize all internal data of the PCFNN_NETWORK l and build of PCFNN_LAYER it contains.
int PCFNN_NETWORK_addl(struct PCFNN_NETWORK *net, struct PCFNN_LAYER *l)
Add the PCFNN_LAYER l to the PCFNN_NETWORK net.