code: def make_temp_directory():
      temp_dir = tempfile.mkdtemp()
      try:
          yield temp_dir
      finally:
          shutil.rmtree(temp_dir)
  
file_path: autogluon/core/src/autogluon/core/utils/files.py
imports: import contextlib
  import hashlib
  import logging
  import os
  import shutil
  import tempfile
  import zipfile
  from pathlib import Path
  from tqdm import tqdm
label_desc: Use image node_id 4 for calling a global function with example usage: make_temp_directory() without return types