code: def parse_args() -> argparse.Namespace:
      parser = _utils.get_full_parser()
      args = parser.parse_args()
      assert args.max_trials > 1, "--max-trials must be larger than 1"
  
      # Convert the paths to absolute paths
      args.config_path = os.path.abspath(args.config_path)
      args.model_dir = os.path.abspath(args.model_dir)
      args.include = (
          [os.path.abspath(p) for p in args.include]
          if args.include is not None
          else []
      )
  
      return args
  
file_path: determined/harness/determined/pytorch/dsat/__main__.py
imports: import argparse
  import os
  import pathlib
  import pickle
  import tempfile
  from determined.experimental import client
  from determined.pytorch.dsat import _defaults, _utils
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args