SNABSuite
0.x
Spiking Neural Architecture Benchmark Suite
|
Functions | |
def | result_json_to_global_dict (filename) |
def | assemble_global_dict () |
def | get_key_arrays (dictionary) |
def | get_key_arrays_from_config () |
def | gather_array_names (snabname) |
def | gather_benchmark_measures (snabname) |
def | write_array_params (texfile, snab, backend, param_names, index) |
def | write_results (texfile, backend, index, snab, measures, got_snab) |
Variables | |
results_dict = dict() | |
config_array_dict = dict() | |
param_names = gather_array_names(snabname) | |
measures = gather_benchmark_measures(snabname) | |
texfile = open("tables/" + snabname + ".tex", 'w') | |
bool | got_snab = False |
def generate_tex.assemble_global_dict | ( | ) |
Gathers all results from build directory
Definition at line 62 of file generate_tex.py.
def generate_tex.gather_array_names | ( | snabname | ) |
def generate_tex.gather_benchmark_measures | ( | snabname | ) |
Get the measure names for the title of the table
Definition at line 120 of file generate_tex.py.
def generate_tex.get_key_arrays | ( | dictionary | ) |
Iterates through the dictionary, gathers all entries with lists dictionary -- dict to iteratively
Definition at line 74 of file generate_tex.py.
def generate_tex.get_key_arrays_from_config | ( | ) |
Gathers all arrays in configs from config directory
Definition at line 93 of file generate_tex.py.
def generate_tex.result_json_to_global_dict | ( | filename | ) |
Adds results from file to global storage filename -- name of the file which will be used
Definition at line 35 of file generate_tex.py.
def generate_tex.write_array_params | ( | texfile, | |
snab, | |||
backend, | |||
param_names, | |||
index | |||
) |
Write parameters of the benchmark run texfile -- open file descriptor to file snab -- name string of the snab backend -- backend string param_names -- list of array names created by gather_array_names index -- index of the current array entry
Definition at line 141 of file generate_tex.py.
def generate_tex.write_results | ( | texfile, | |
backend, | |||
index, | |||
snab, | |||
measures, | |||
got_snab | |||
) |
Write results of the benchmark run texfile -- open file descriptor to file snab -- name string of the snab backend -- backend string measures -- list of measure names created by gather_benchmark_measures index -- index of the current array entry got_snab -- boolean wether there was at least one entry
Definition at line 160 of file generate_tex.py.
generate_tex.config_array_dict = dict() |
Definition at line 32 of file generate_tex.py.
generate_tex.got_snab = False |
Definition at line 223 of file generate_tex.py.
generate_tex.measures = gather_benchmark_measures(snabname) |
Definition at line 204 of file generate_tex.py.
generate_tex.param_names = gather_array_names(snabname) |
Definition at line 203 of file generate_tex.py.
generate_tex.results_dict = dict() |
Definition at line 30 of file generate_tex.py.
generate_tex.texfile = open("tables/" + snabname + ".tex", 'w') |
Definition at line 205 of file generate_tex.py.