xnn.common.benchmark.runner.write_part#
- xnn.common.benchmark.runner.write_part(cfg, rows, tag)[source]#
Write the rows of one run of a split benchmark to its part file.
Parts are JSON row lists with plain (unit-free) keys under
<output.dir>/parts/<filename>.<tag>.json;merge_parts()reads them back.- Parameters:
cfg (BenchmarkConfig) – Supplies the output directory and filename.
tag (str) – Distinguishes this run’s file (see
part_tag()).
- Returns:
The path written.
- Return type: