xnn.common.benchmark.runner.column_units#

xnn.common.benchmark.runner.column_units(cfg, rows)[source]#

Map each metric column of rows to its unit label (see Benchmark._column_units()).

Parameters:
  • cfg (BenchmarkConfig) – Supplies energy_per_atom and the units overrides.

  • 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