6 #define EPSILON (1.0e-6) 151 diff = data->
weights1[i*nodes_per_layer + j] - ref->
weights1[i*nodes_per_layer + j];
157 diff = data->
weights2[i*nodes_per_layer + j] - ref->
weights2[i*nodes_per_layer + j];
163 diff = data->
weights3[i*possible_outputs + j] - ref->
weights3[i*possible_outputs + j];
void data_to_input(int fd, void *vdata)
int check_data(void *vdata, void *vref)
#define STAC(f_pfx, t, f_sfx)
TYPE weights1[input_dimension *nodes_per_layer]
TYPE biases3[possible_outputs]
void data_to_output(int fd, void *vdata)
int write_section_header(int fd)
void backprop(TYPE weights1[input_dimension *nodes_per_layer], TYPE weights2[nodes_per_layer *nodes_per_layer], TYPE weights3[nodes_per_layer *possible_outputs], TYPE biases1[nodes_per_layer], TYPE biases2[nodes_per_layer], TYPE biases3[possible_outputs], TYPE training_data[training_sets *input_dimension], TYPE training_targets[training_sets *possible_outputs])
void output_to_data(int fd, void *vdata)
TYPE biases2[nodes_per_layer]
TYPE training_targets[training_sets *possible_outputs]
TYPE weights2[nodes_per_layer *nodes_per_layer]
TYPE biases1[nodes_per_layer]
void input_to_data(int fd, void *vdata)
char * find_section_start(char *s, int n)
TYPE weights3[nodes_per_layer *possible_outputs]
TYPE training_data[training_sets *input_dimension]
void run_benchmark(void *vargs)