14 int main(
int argc,
const char* argv[] ){
47 fd = open(
"input.data", O_WRONLY|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
48 assert( fd>0 &&
"Couldn't open input data file");
static uint64_t prng_rand(struct prng_rand_t *state)
void data_to_input(int fd, void *vdata)
TYPE weights1[input_dimension *nodes_per_layer]
TYPE biases3[possible_outputs]
unsigned offset[NUM_VERTICES+1]
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]
TYPE weights3[nodes_per_layer *possible_outputs]
int main(int argc, char **argv)
TYPE training_data[training_sets *input_dimension]
static void prng_srand(uint64_t seed, struct prng_rand_t *state)