ANN
0.1.1.5
A library containing multiple neural network models written in C
|
PCFNN_FEEDFORWARD. More...
#include "../../config.h"
#include <stdlib.h>
#include "neuron.h"
#include "layer.h"
#include "network.h"
Go to the source code of this file.
Functions | |
double | PCFNN_NEURON_feedforward_inputs (struct PCFNN_NEURON *n, double *inputs, double(*f_act)(double), double(*f_act_de)(double)) |
Feedforward the input neuron n. More... | |
double | PCFNN_NEURON_feedforward (struct PCFNN_NEURON *n, double(*f_act)(double), double(*f_act_de)(double)) |
Feedforward the input neuron n. More... | |
void | PCFNN_LAYER_feedforward_input (struct PCFNN_LAYER *l, double *inputs) |
Feedforward the input layer l. More... | |
void | PCFNN_LAYER_feedforward (struct PCFNN_LAYER *l) |
Feedforward the hidden layer l. More... | |
void | PCFNN_NETWORK_feedforward (struct PCFNN_NETWORK *net, double *inputs) |
Feedforward the PCFNN_NETWORK net. More... | |
double * | PCFNN_NETWORK_get_output (struct PCFNN_NETWORK *net) |
Return a double array which is the output of the output layer of net. More... | |
PCFNN_FEEDFORWARD.
Feedforward functions for PCFNN neural network
Definition in file feedforward.h.
PCFNN_LAYER_feedforward | ( | struct PCFNN_LAYER * | l | ) |
Feedforward the hidden layer l.
[in] | l | (struct PCFNN_LAYER*) a pointer an a PCFNN_LAYER |
Definition at line 46 of file feedforward.c.
PCFNN_LAYER_feedforward_input | ( | struct PCFNN_LAYER * | l, |
double * | inputs | ||
) |
Feedforward the input layer l.
[in] | l | (struct PCFNN_LAYER*) a pointer an a PCFNN_LAYER |
[in] | inputs | (double*) a double array to be used to populate the layer |
Definition at line 35 of file feedforward.c.
PCFNN_NETWORK_feedforward | ( | struct PCFNN_NETWORK * | net, |
double * | inputs | ||
) |
Feedforward the PCFNN_NETWORK net.
[in] | net | (struct PCFNN_NETWORK*) a pointer an a PCFNN_NETWORK |
[in] | inputs | (double*) a double array to be used to populate the input layer |
Definition at line 54 of file feedforward.c.
PCFNN_NETWORK_get_output | ( | struct PCFNN_NETWORK * | net | ) |
Return a double array which is the output of the output layer of net.
[in] | net | (struct PCFNN_NETWORK*) a pointer an a PCFNN_NETWORK |
Definition at line 64 of file feedforward.c.
PCFNN_NEURON_feedforward | ( | struct PCFNN_NEURON * | n, |
double(*)(double) | f_act, | ||
double(*)(double) | f_act_de | ||
) |
Feedforward the input neuron n.
[in] | n | (struct PCFNN_LAYER*) a pointer an a PCFNN_LAYER |
[in] | f_act | (double(*f_act)(double)) a pointer on activation functon or NULL |
[in] | f_act_de | (double(*f_act_de)(double)) a pointer on derivative activation functon who is the derivate of the f_act function pointer or NULL |
Definition at line 22 of file feedforward.c.
PCFNN_NEURON_feedforward_inputs | ( | struct PCFNN_NEURON * | n, |
double * | inputs, | ||
double(*)(double) | f_act, | ||
double(*)(double) | f_act_de | ||
) |
Feedforward the input neuron n.
[in] | n | (struct PCFNN_LAYER*) a pointer an a PCFNN_LAYER |
[in] | inputs | (double*) a double array to be used to populate the neuron |
[in] | f_act | (double(*f_act)(double)) a pointer on activation functon or NULL |
[in] | f_act_de | (double(*f_act_de)(double)) a pointer on derivative activation functon who is the derivate of the f_act function pointer or NULL |
Definition at line 9 of file feedforward.c.