Apple / mrunner_exps /utils.py
New Author Name
init
4b714e2
raw
history blame contribute delete
277 Bytes
from input_args import apple_parse_args
PARSE_ARGS_DICT = {"bc": apple_parse_args, "reinforce": apple_parse_args}
def combine_config_with_defaults(config):
run_kind = config["run_kind"]
res = vars(PARSE_ARGS_DICT[run_kind]([]))
res.update(config)
return res