PandA-2024.02
|
Go to the source code of this file.
Macros | |
#define | EPSILON (1.0e-6) |
Functions | |
void | run_benchmark (void *vargs) |
void | input_to_data (int fd, void *vdata) |
void | data_to_input (int fd, void *vdata) |
void | output_to_data (int fd, void *vdata) |
void | data_to_output (int fd, void *vdata) |
int | check_data (void *vdata, void *vref) |
Variables | |
int | INPUT_SIZE = sizeof(struct bench_args_t) |
#define EPSILON (1.0e-6) |
Definition at line 6 of file local_support.c.
Referenced by check_data().
int check_data | ( | void * | vdata, |
void * | vref | ||
) |
Definition at line 142 of file local_support.c.
References bench_args_t::biases1, bench_args_t::biases2, bench_args_t::biases3, EPSILON, input_dimension, nodes_per_layer, possible_outputs, TYPE, bench_args_t::weights1, bench_args_t::weights2, and bench_args_t::weights3.
void data_to_input | ( | int | fd, |
void * | vdata | ||
) |
Definition at line 57 of file local_support.c.
References bench_args_t::biases1, bench_args_t::biases2, bench_args_t::biases3, input_dimension, nodes_per_layer, possible_outputs, STAC, bench_args_t::training_data, training_sets, bench_args_t::training_targets, TYPE, bench_args_t::weights1, bench_args_t::weights2, bench_args_t::weights3, and write_section_header().
void data_to_output | ( | int | fd, |
void * | vdata | ||
) |
Definition at line 119 of file local_support.c.
References bench_args_t::biases1, bench_args_t::biases2, bench_args_t::biases3, input_dimension, nodes_per_layer, possible_outputs, STAC, TYPE, bench_args_t::weights1, bench_args_t::weights2, bench_args_t::weights3, and write_section_header().
void input_to_data | ( | int | fd, |
void * | vdata | ||
) |
Definition at line 22 of file local_support.c.
References bench_args_t::biases1, bench_args_t::biases2, bench_args_t::biases3, find_section_start(), input_dimension, nodes_per_layer, possible_outputs, readfile(), STAC, bench_args_t::training_data, training_sets, bench_args_t::training_targets, TYPE, bench_args_t::weights1, bench_args_t::weights2, and bench_args_t::weights3.
void output_to_data | ( | int | fd, |
void * | vdata | ||
) |
Definition at line 90 of file local_support.c.
References bench_args_t::biases1, bench_args_t::biases2, bench_args_t::biases3, find_section_start(), input_dimension, nodes_per_layer, possible_outputs, readfile(), STAC, TYPE, bench_args_t::weights1, bench_args_t::weights2, and bench_args_t::weights3.
void run_benchmark | ( | void * | vargs | ) |
Definition at line 8 of file local_support.c.
References test_panda::args, backprop(), bench_args_t::biases1, bench_args_t::biases2, bench_args_t::biases3, bench_args_t::training_data, bench_args_t::training_targets, bench_args_t::weights1, bench_args_t::weights2, and bench_args_t::weights3.
int INPUT_SIZE = sizeof(struct bench_args_t) |
Definition at line 4 of file local_support.c.