xnn.common.benchmark.config.from_yaml#

xnn.common.benchmark.config.from_yaml(path)[source]#

Load a YAML benchmark config into a BenchmarkConfig.

Parameters:

path (str) – Path to the YAML file; parsed with yaml.safe_load() and funneled through from_dict().

Returns:

The populated benchmark configuration.

Return type:

BenchmarkConfig