I would like to access hydra configuration, e.g., sweeper, from the decorated function:
@hydra.main(config_name="config")
def my_app(cfg: Config) -> None:
OmegaConf.to_yaml(cfg.hydra.sweeper)
Is there any parameter I can pass to @hydra.main()
not to remove that configuration, or is there other place where I can find it? Thanks.