xnn.common.benchmark.runner.column_units#
- xnn.common.benchmark.runner.column_units(cfg, rows)[source]#
Map each metric column of
rowsto its unit label (seeBenchmark._column_units()).- Parameters:
cfg (BenchmarkConfig) – Supplies
energy_per_atomand theunitsoverrides.rows (list of dict) – The result rows whose columns are labelled.
- Returns:
Column name -> unit, for the metric columns that have a unit.
- Return type:
dict of str to str