xnn.common.config.loaders.apply_overrides#
- xnn.common.config.loaders.apply_overrides(cfg, overrides)[source]#
Apply
a.b=cstyle dotted overrides in place.Shared by the CLI and Hydra paths so the same override syntax works everywhere. Each value is parsed with
ast.literal_eval()and falls back to the raw string if parsing fails. Entries without=are skipped.Config.__post_init__()is re-run afterwards to re-synchronize the cutoffs.