xnn.common.benchmark.config.OutputConfig#
- class xnn.common.benchmark.config.OutputConfig(dir='runs/benchmark', filename='results', formats=<factory>)[source]#
Bases:
objectWhere and in which formats to write the benchmark results table.
- Variables:
dir (str) – Directory the results table is written to. Defaults to
"runs/benchmark".filename (str) – Base filename (without extension) for the results table; each format appends its own extension. Defaults to
"results".formats (list[str]) – Output formats to write, each a registered writer name (
"csv"/"json"/"md"or a user-registered one; seebenchmark.report). Defaults to["csv", "json"].
- Parameters: