run_puzzle#

Main entry point for running the puzzle optimization to find optimal layer configurations.

Functions

filter_subblock_stats_by_args(all_subblock_stats, subblock_stats_args, convert_dicts_to_dataclasses=True)#
Parameters:
  • all_subblock_stats (list[dict])

  • subblock_stats_args (dict[str, Any])

  • convert_dicts_to_dataclasses (bool)

Return type:

dict[str, dict]

gather_multi_layer_puzzle_metrics(single_replacement_validation_dir)#
Parameters:

single_replacement_validation_dir (Path)

Return type:

dict[str, dict[str, Hashable]]

run_puzzle(args)#
Parameters:

args (DictConfig)

Return type:

list[str]