def parse_params(exp_name: str) -> Tuple[dict, List[str]]:
    """Constructs the command-line arguments for ``train_*.py``."""
    args, unknown_args = parse_runner_params(exp_name)
    if "ddp" in args["engine"]:
        ddp_args, unknown_args = parse_ddp_params(unknown_args)
        args = {**args, **ddp_args}

    return args, unknown_args
Constructs the command-line arguments for ``train_*.py``.
examples/engines/src.py