code: def make_run_dir_path(*paths):
      """Make a path/filename that resides under the current submit run_dir.
  
      Args:
          *paths: Path components to be passed to os.path.join
  
      Returns:
          A file/dirname rooted at submit_config.run_dir.  If there's no
          submit_config or run_dir, the base directory is the current
          working directory.
  
      E.g., `os.path.join(dnnlib.submit_config.run_dir, "output.txt"))`
      """
      import dnnlib
  
      if (dnnlib.submit_config is None) or (
          dnnlib.submit_config.run_dir is None
      ):
          return os.path.join(os.getcwd(), *paths)
      return os.path.join(dnnlib.submit_config.run_dir, *paths)
  
imports: import copy
  import inspect
  import os
  import pathlib
  import pickle
  import platform
  import pprint
  import re
  import shutil
  import sys
  import time
  import traceback
  from enum import Enum
  from ..None import util
label_desc: Use image node_id 6 for calling a global function with example usage: make_run_dir_path() and returns: os, os