code: def nni_cache_home() -> str:
      return os.path.expanduser(
          os.getenv(
              ENV_NNI_HOME,
              os.path.join(
                  os.getenv(ENV_XDG_CACHE_HOME, DEFAULT_CACHE_DIR),
                  "nni",
              ),
          )
      )
  
file_path: nni/nni/common/blob_utils.py
imports: import logging
  import hashlib
  import os
  import shutil
  import subprocess
  import tempfile
  from pathlib import Path
  from shutil import which
  from typing import Optional
  import tqdm
label_desc: Use image node_id 1 for calling a global function with example usage: nni_cache_home() and returns: os